]> git.hungrycats.org Git - linux/log
linux
23 years ago[NET]: Kill NET_PROFILE, has not built for years.
David S. Miller [Wed, 3 Sep 2003 17:51:33 +0000 (10:51 -0700)]
[NET]: Kill NET_PROFILE, has not built for years.

23 years ago[CRYPTO]: remove duplicate #includes in crypto/
Randy Dunlap [Wed, 3 Sep 2003 17:44:50 +0000 (10:44 -0700)]
[CRYPTO]: remove duplicate #includes in crypto/

23 years ago[NET]: remove duplicate #includes in net/
Randy Dunlap [Wed, 3 Sep 2003 17:44:06 +0000 (10:44 -0700)]
[NET]: remove duplicate #includes in net/

23 years ago[NET]: Convert ltpc to new initialization.
Stephen Hemminger [Wed, 3 Sep 2003 17:42:21 +0000 (10:42 -0700)]
[NET]: Convert ltpc to new initialization.

Originally from Al Viro
NE11-ltpc
* switched ltpc to dynamic allocation
* ltpc: embedded ->priv
* ltpc: fixed bugs in DMA allocation
* ltpc: fixed resource leaks on failure exits
* ltpc: fixed part of timer bugs (still a-f**ing-plenty of those)
* ltpc: fixed order of freeing bugs
Added
* switch to free_netdev

23 years ago[NET]: Loopback device simplification.
Stephen Hemminger [Wed, 3 Sep 2003 17:41:35 +0000 (10:41 -0700)]
[NET]: Loopback device simplification.

Now that all the magic chain of static devices is gone from Space.c
The initialization of the one remaining static device (ie the loopback driver)
can be simplified.

One small change was to reduce possibility of failing the initialization if
allocation of private data failed by just going without statistics.

23 years ago[NET]: Convert sbni initialization.
Stephen Hemminger [Wed, 3 Sep 2003 17:40:58 +0000 (10:40 -0700)]
[NET]: Convert sbni initialization.

Convert sbni driver
- new probing
- single allocation using alloc_netdev for private data

23 years ago[NET]: Convert tr probes to probe_old_netdevs().
Stephen Hemminger [Wed, 3 Sep 2003 17:40:11 +0000 (10:40 -0700)]
[NET]: Convert tr probes to probe_old_netdevs().

Analogous to previous patch.  Instead of dev_base list of static
entries, use a loop and dynamically allocate devices.

Tested only the 'no hardware' case.

23 years ago[NET]: Convert ether probes to probe_old_netdevs().
Stephen Hemminger [Wed, 3 Sep 2003 17:39:24 +0000 (10:39 -0700)]
[NET]: Convert ether probes to probe_old_netdevs().

Convert old ethernet device probing from dev_base linked list
to the probe_old_netdevs.

Blame me for this one ;-)

Builds and runs, but don't have old ISA hardware to really test it.
So please find some or review it carefully.

23 years ago[NET]: Convert cops over to new initialization.
Stephen Hemminger [Wed, 3 Sep 2003 17:38:42 +0000 (10:38 -0700)]
[NET]: Convert cops over to new initialization.

More from Al
NE12-cops
* switched cops to dynamic allocation
* cops: embedded ->priv
* cops: fixed ->irq clobbering on autoprobe
Added
* free_netdev

23 years ago[NET]: Convert SDLA to new initialization.
Stephen Hemminger [Wed, 3 Sep 2003 17:37:58 +0000 (10:37 -0700)]
[NET]: Convert SDLA to new initialization.

Based on Al viro's NE10-sdla
* switched sdla to dynamic allocation
* sdla: embedded ->priv
* sdla: fixed resource leaks on failure exits
Additionally fixes.
* get rid of cli/sti
* get rid of MOD/INC

Builds and probes, but don't have the hardware.
Driver has never built on 2.6 before this.

23 years ago[NET]: Add probe_old_netdevs() hook.
Stephen Hemminger [Wed, 3 Sep 2003 17:37:09 +0000 (10:37 -0700)]
[NET]: Add probe_old_netdevs() hook.

This set of patches is a mixture of Al's work to device initialization,
and some of my own to complete it for all the ether, tr, sbni, and loopback
devices.

The first patch adds the hook for converting old driver initialization
code over to dynamic allocation.

This part extracted from Al viro's set of net driver changes for ethertap.

23 years ago[NET]: Use free_netdev() even in error paths.
François Romieu [Wed, 3 Sep 2003 17:36:39 +0000 (10:36 -0700)]
[NET]: Use free_netdev() even in error paths.

23 years ago[NET]: DLCI driver cleanups for 2.6.x
Stephen Hemminger [Wed, 3 Sep 2003 17:35:52 +0000 (10:35 -0700)]
[NET]: DLCI driver cleanups for 2.6.x

- keep list of arrays for devices and use a lock
- make sure header is contiguous before overlaying data structure
- dynamically allocate dev->priv with alloc_netdev
- get rid of MOD_INC/DEC
- free devices on module unload
- keep refcount on slave device's since holding a ptr

23 years ago[ATM]: Lanai driver updates.
Mitchell Blank Jr. [Wed, 3 Sep 2003 17:34:37 +0000 (10:34 -0700)]
[ATM]: Lanai driver updates.

o Big performance improvement.  The version of the driver in the kernel
  still had a "mdelay(1)" after every register write.  This capped
  performance at about 8Mbps and ate tons of CPU time.  (Luckily, most
  users of this card are just terminating a DSL line where its not too
  noticeable)

  However, after removing this delay the card started getting out of
  sync with the driver under stress tests.  After a couple days of chasing
  the bug I finally determine that the card's support for transmitting
  partial PDUs just doesn't quite work as advertised (before we would send
  a partial PDU to completely fill a VCC's transmit buffer and then send
  the rest of the skb when more buffer space filled up).  The usefulness of
  this is somewhat doubtful anyway and removing it cleaned up a lot of code.

  I also added some memory barriers to make sure operations to the card
  happen in the correct order.

  Now for the first time ever we get near line-rate performance out of this
  card (~19Mb/s TCP in netperf between two ~300Mhz machines)

o Locking changes (essentially the patch Chas sent me a couple weeks ago
  with some minor tweaking)  I'm still not sure we're getting 100% of the
  cases right but it's definitely FAR better than the old lock-less version.

o Cleanup the backlog draining code in lanai_shutdown_tx_vci()

o Remove outdated comment describing how to compile the module

o Got rid of the "service_novcc_[tr]x" stats - it's really the same error
  as "service_[tr]x" - there's no reason to count them separately.

o Use the ATM_25_PCR constant instead of computing it for ourselves

23 years ago[ATM]: In atm_getaddr() do not copy_to_user() with locks held.
Chas Williams [Wed, 3 Sep 2003 17:34:02 +0000 (10:34 -0700)]
[ATM]: In atm_getaddr() do not copy_to_user() with locks held.

23 years ago[NET]: Fix ethtool_ops thinko in sungem.c
Jeff Garzik [Wed, 3 Sep 2003 17:33:32 +0000 (10:33 -0700)]
[NET]: Fix ethtool_ops thinko in sungem.c

23 years ago[IPV6]: Remove unnecessary linux/version.h include.
Felipe Damasio [Wed, 3 Sep 2003 17:33:05 +0000 (10:33 -0700)]
[IPV6]: Remove unnecessary linux/version.h include.

23 years ago[NET]: Use list_for_each() where applicable.
Maximilian Attems [Wed, 3 Sep 2003 17:32:06 +0000 (10:32 -0700)]
[NET]: Use list_for_each() where applicable.

23 years ago[NET]: Fix 64-bit warnings in af_netlink.c
Andrew Morton [Wed, 3 Sep 2003 17:27:18 +0000 (10:27 -0700)]
[NET]: Fix 64-bit warnings in af_netlink.c

23 years agoMerge http://linux-watchdog.bkbits.net/linux-2.5-watchdog
Wim Van Sebroeck [Thu, 4 Sep 2003 00:25:28 +0000 (02:25 +0200)]
Merge http://linux-watchdog.bkbits.net/linux-2.5-watchdog
into iguana.be:/home/wim/BitKeeper/projects/linux-2.5-watchdog

23 years agoMerge http://linux-watchdog.bkbits.net/linux-2.5-watchdog
Wim Van Sebroeck [Thu, 4 Sep 2003 00:13:40 +0000 (02:13 +0200)]
Merge http://linux-watchdog.bkbits.net/linux-2.5-watchdog
into iguana.be:/home/wim/BitKeeper/projects/linux-2.5-watchdog

23 years ago[WATCHDOG] wafer5823wdt.c - patch4
Wim Van Sebroeck [Wed, 3 Sep 2003 23:59:34 +0000 (01:59 +0200)]
[WATCHDOG] wafer5823wdt.c - patch4

remove module_param's for wdt_start and wdt_stop
fix timeout check in init procedure

23 years agoMerge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
Linus Torvalds [Wed, 3 Sep 2003 04:11:05 +0000 (21:11 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[wireless airo] build fix when MIC support is disabled
Javier Achirica [Wed, 3 Sep 2003 09:53:05 +0000 (05:53 -0400)]
[wireless airo] build fix when MIC support is disabled

23 years ago[netdrvr] list CONFIG_BMAC in drivers/net/Makefile.lib,
Ernst Persson [Wed, 3 Sep 2003 09:43:41 +0000 (05:43 -0400)]
[netdrvr] list CONFIG_BMAC in drivers/net/Makefile.lib,
as it uses the crc32 library.

23 years ago[netdrvr de4x5] big modernization / cleanup
Marc Zyngier [Wed, 3 Sep 2003 09:39:27 +0000 (05:39 -0400)]
[netdrvr de4x5] big modernization / cleanup

The enclosed patch tries to clean the tulip de4x5 driver, and update
it to some of the 2.6 APIs :

- Use PCI and EISA probing APIs
- Use generic DMA API
- Fix DE425 init on the Jensen
- Remove de4x5 from Space.c

It's been tested on x86 and Alpha, with a DE425 (21040, EISA), a DE435
(21040, PCI) and a quad DLink (4*21143, PCI).

The major problem with this patch is that, because of the Space.c
removal, interfaces get potentially renumbered. This has been
discussed to death on lkml, without any obvious solution. IMHO, we'd
better remove as many drivers as we can from Space.c before
2.6.0-final ships...

23 years ago[wireless airo] fix build with gcc 2.95
Adrian Bunk [Wed, 3 Sep 2003 08:35:56 +0000 (04:35 -0400)]
[wireless airo] fix build with gcc 2.95

23 years agoAvoid a negative in config questions: we don't want to have users
Linus Torvalds [Wed, 3 Sep 2003 03:51:36 +0000 (20:51 -0700)]
Avoid a negative in config questions: we don't want to have users
forced into double negatives.

23 years ago[PATCH] COSA is no longer BROKEN
Adrian Bunk [Wed, 3 Sep 2003 03:49:50 +0000 (20:49 -0700)]
[PATCH] COSA is no longer BROKEN

the compilation of cosa.c was already fixed in your BK tree, so we can
now remove the dependency on BROKEN.

23 years ago[PATCH] PowerMac: Fix build of via-pmu driver with some .config's
Benjamin Herrenschmidt [Wed, 3 Sep 2003 03:14:25 +0000 (20:14 -0700)]
[PATCH] PowerMac: Fix build of via-pmu driver with some .config's

This fixes the build of the via-pmu.c driver when CONFIG_PMAC_PBOOK is
not set.

23 years ago[PATCH] ide: enable LED support for PowerMac
Bartlomiej Zolnierkiewicz [Wed, 3 Sep 2003 03:14:16 +0000 (20:14 -0700)]
[PATCH] ide: enable LED support for PowerMac

From Benjamin Herrenschmidt <benh@kernel.crashing.org>:

This adds the Kconfig option for the PowerMac IDE driver "LED" feature
(using the laptop's front LED as a disk activity indicator).  It also
adds a small bit to ide-probe.c that was missing from Jens patch when he
added the activity function infrastructure.  He did add the hwif field,
but not the code to actually enable it.

23 years ago[PATCH] ide: add very basic support for VIA 8237 SATA controller
Bartlomiej Zolnierkiewicz [Wed, 3 Sep 2003 03:14:08 +0000 (20:14 -0700)]
[PATCH] ide: add very basic support for VIA 8237 SATA controller

From Daniela Engert <dani@ngrt.de>.

23 years ago[PATCH] ide: allow LBA48 on Promise 20265
Bartlomiej Zolnierkiewicz [Wed, 3 Sep 2003 03:14:01 +0000 (20:14 -0700)]
[PATCH] ide: allow LBA48 on Promise 20265

It was disabled to workaround a bug in a driver.  The orginal bug was
fixed but the workaround was not removed.

23 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Wed, 3 Sep 2003 03:05:56 +0000 (20:05 -0700)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoPPC32: Eliminate one use of struct device name field.
Paul Mackerras [Thu, 4 Sep 2003 08:40:30 +0000 (18:40 +1000)]
PPC32: Eliminate one use of struct device name field.

23 years agoPPC32: Add support for the PPC 440 family of embedded processors.
Paul Mackerras [Thu, 4 Sep 2003 08:16:47 +0000 (18:16 +1000)]
PPC32: Add support for the PPC 440 family of embedded processors.

This has three main parts: (1) support for the 440GP and 440GX processors,
(2) support for the "Ebony" and "Ocotea" reference boards for those processors,
and (3) support for 64-bit physical addresses.  The 440GP and 440GX are "Book E"
processors, and this introduces a CONFIG_BOOKE and some definitions that apply
to all Book E processors.

Having 64-bit physical addresses means that PTEs are now 64 bits.  The PTE pages
stay at 4kB, and the pgdir expands to 8kB.

23 years ago[PATCH] amiflop error handling
Jens Axboe [Tue, 2 Sep 2003 19:04:18 +0000 (12:04 -0700)]
[PATCH] amiflop error handling

amiflop didn't init the queue before assigning it to disk->queue. the
error handling was also immensely screwed, I've cleaned that up too.

23 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Tue, 2 Sep 2003 13:02:46 +0000 (06:02 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

23 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Tue, 2 Sep 2003 10:09:58 +0000 (03:09 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agofix bad return code mapping when server lacks hard link support
Steve French [Tue, 2 Sep 2003 08:34:27 +0000 (03:34 -0500)]
fix bad return code mapping when server lacks hard link support

23 years agoMerge nuts.ninka.net:/disk1/davem/BK/net-2.5
David S. Miller [Tue, 2 Sep 2003 08:05:20 +0000 (01:05 -0700)]
Merge nuts.ninka.net:/disk1/davem/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5

23 years ago[IPV4]: Do not BUG() on icmp_xmit_lock() contention, just drop.
David S. Miller [Tue, 2 Sep 2003 07:34:26 +0000 (00:34 -0700)]
[IPV4]: Do not BUG() on icmp_xmit_lock() contention, just drop.

23 years ago[NET]: Balance alloc_netdev() with free_netdev() in ethertap.
François Romieu [Tue, 2 Sep 2003 06:28:32 +0000 (23:28 -0700)]
[NET]: Balance alloc_netdev() with free_netdev() in ethertap.

23 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Tue, 2 Sep 2003 05:24:46 +0000 (22:24 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/gregkh-2.6

23 years ago[NET]: ethertap fixes.
Stephen Hemminger [Tue, 2 Sep 2003 05:19:49 +0000 (22:19 -0700)]
[NET]: ethertap fixes.

includes these changes from viro
* switched ethertap to dynamic allocation
* ethertap: embedded ->priv
* ethertap: fixed resource leaks on failure exits
and from me
* get it out of the static device list completely.
* add dependency on NETLINK_DEV
* not really obsolete yet
* configurable number of interfaces

23 years ago[NET]: Convert af_netlink.c over to seq_file.
Stephen Hemminger [Tue, 2 Sep 2003 05:04:11 +0000 (22:04 -0700)]
[NET]: Convert af_netlink.c over to seq_file.

23 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Tue, 2 Sep 2003 04:40:32 +0000 (21:40 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/gregkh-2.6

23 years agoInstead of asking for "broken drivers", ask for a "clean compile".
Linus Torvalds [Tue, 2 Sep 2003 04:30:14 +0000 (21:30 -0700)]
Instead of asking for "broken drivers", ask for a "clean compile".

This makes "allyesconfig" do a better job.

23 years agoAdd the isicom serial driver to the list of drivers that are
Linus Torvalds [Tue, 2 Sep 2003 04:28:20 +0000 (21:28 -0700)]
Add the isicom serial driver to the list of drivers that are
broken on SMP (due to expecting global irq locking).

23 years ago[NETFILTER]: Use CONFIG_BRIDGE_NETFILTER in ipt_REJECT.c
Bart De Schuymer [Tue, 2 Sep 2003 04:23:43 +0000 (21:23 -0700)]
[NETFILTER]: Use CONFIG_BRIDGE_NETFILTER in ipt_REJECT.c

23 years ago[PATCH] Fix non-modular compile of 3c515.c
Jeff Garzik [Tue, 2 Sep 2003 04:19:19 +0000 (21:19 -0700)]
[PATCH] Fix non-modular compile of 3c515.c

23 years ago[PATCH] USB: usb hcd states
David Brownell [Tue, 2 Sep 2003 04:09:09 +0000 (21:09 -0700)]
[PATCH] USB: usb hcd states

AFAICT this is ready for your next merge with Linus.

Ben's ohci stuff was not cooked yet, seemed like the
pm stuff wasn't yet supporting the hook(s) he needed.
RMK had similar issues w.r.t. PM on ARM too.

This patch includes:

   - updates from Benjamin Herrenschmidt to make usbcore
     behave a bit better during PM suspend (setting and
     checking hcd state).

   - related updates from me, making more paths into hcds
     fail when the driver is suspended.

   - updates based on some feedback from Alan Stern,
     notably including getting rid of a state we don't
     really need (most of the patch, by volume).

   - an experiment that tries to give a warning in the
     sadly common case of ACPI or APIC (etc) settings
     that need to change before USB works.

Net effect is that some of the PM issues start to get
resolved, maybe IRQ problems will be diagnosed quicker,
and some overdue cleanup gets started.

23 years ago[PATCH] USB: net2280 one-liner
David Brownell [Tue, 2 Sep 2003 04:01:43 +0000 (21:01 -0700)]
[PATCH] USB: net2280 one-liner

Please merge this minor fix:

   - loosen constraints on buffer allocation

This is needed before Alan's file-backed storage
gadget driver will initialize using net2280.

23 years ago[PATCH] USB: storage: Revised update to isd200 I/O buffer patch
Alan Stern [Tue, 2 Sep 2003 03:49:49 +0000 (20:49 -0700)]
[PATCH] USB: storage: Revised update to isd200 I/O buffer patch

This is a minor revision to the previous patch as83.  It changes the name
of the various struct hd_driveid variables from 'drive' to 'id', per
Andries Brouwer's request.

 - Don't do DMA into the middle of a structure (info->drive).
 - Don't use I/O buffers for two different purposes simultaneously
  (info->ATARegs, regs, us->iobuf).
 - Rename info->drive to info->id.

23 years ago[PATCH] USB: storage: cbw/csw trace in order
Pat LaVarre [Tue, 2 Sep 2003 03:47:33 +0000 (20:47 -0700)]
[PATCH] USB: storage: cbw/csw trace in order

Via this patch ...

We change only when CONFIG_USB_STORAGE_DEBUG=y.

To /proc/kmsg etc. we now trace the fields of
the cbw as we order those fields in ram and as
we order those fields in time on the bus, to
avoid disorientating those of us who view those
canonical orders often.

Also we no longer print "S" or "Sig" to
"Signature", instead we always print "S".  We
chose "S" over "Sig" because it is the "T"
signature (aka "Tag") that actually makes each
cbw/csw pair distinct, whereas the so-called
Signatures only distinguish cbw from csw by
flipping one bit.

Also in the trace we uppercase a 'C' and an 'S'
to keep cbw from csw typographically distinct.

For example, what was:

<7>usb-storage: Command INQUIRY (6 bytes)
<7>usb-storage:  12 00 00 00 24 00
<7>usb-storage: Bulk command S 0x43425355 T 0x1f13 Trg 0 LUN 0 L 36 F 128 CL 6
...
<7>usb-storage: Bulk status Sig 0x53425355 T 0x1f13 R 0 Stat 0x0

becomes:

<7>usb-storage: Command INQUIRY (6 bytes)
<7>usb-storage:  12 00 00 00 24 00
<7>usb-storage: Bulk Command S 0x43425355 T 0x1f3b L 36 F 128 Trg 0 LUN 0 CL 6
...
<7>usb-storage: Bulk Status S 0x53425355 T 0x1f3b R 0 Stat 0x0

23 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Tue, 2 Sep 2003 03:08:22 +0000 (20:08 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

23 years agoFix keyboard double E0-sequence release case
Linus Torvalds [Tue, 2 Sep 2003 02:53:49 +0000 (19:53 -0700)]
Fix keyboard double E0-sequence release case

From Andries Brouwer <aebr@win.tue.nl>: we discard the double
release keypress, but we did it without clearing the "last byte
was E0" flag. So the next byte in the input stream would get
corrupted.

23 years ago[PATCH] Mark more drivers BROKEN{,ON_SMP}
Adrian Bunk [Tue, 2 Sep 2003 02:22:52 +0000 (19:22 -0700)]
[PATCH] Mark more drivers BROKEN{,ON_SMP}

- let more drivers that don't compile depend on BROKEN
- MTD_BLKMTD is fixed, remove the dependency on BROKEN
- let all drivers that don't compile on SMP (due to cli/sti usage)
  depend on a BROKEN_ON_SMP that is only defined if !SMP || BROKEN
- #include interrupt.h for dummy cli/sti/... in two files to fix the
  UP compilation of these files

I marked only drivers that are broken for a long time and where I don't
know about existing fixes with BROKEN or BROKEN_ON_SMP.

23 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Tue, 2 Sep 2003 00:48:07 +0000 (17:48 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[PATCH] ide: forward-port siimage driver changes from 2.4.22
Bartlomiej Zolnierkiewicz [Tue, 2 Sep 2003 00:43:40 +0000 (17:43 -0700)]
[PATCH] ide: forward-port siimage driver changes from 2.4.22

ide: forward-port siimage driver changes from 2.4.22

23 years ago[PATCH] ide: fix ide_unregister() vs. driver model
Bartlomiej Zolnierkiewicz [Tue, 2 Sep 2003 00:43:31 +0000 (17:43 -0700)]
[PATCH] ide: fix ide_unregister() vs. driver model

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

This patch seem to have been lost, so here it is again.  It fixes an Ooops
on unregistering hwifs due to the device model now having mandatory
release() functions.  It also close the possible race we had on release if
the entry was in use (by or /sys typically) by using a semaphore waiting
for the release() to be called after doing an unregister.

23 years ago[PATCH] Fix compile for raw1394
Ben Collins [Tue, 2 Sep 2003 00:43:23 +0000 (17:43 -0700)]
[PATCH] Fix compile for raw1394

Include vmalloc.h to fix compilation of raw1394.c

23 years ago[PATCH] scsi cleanups
Arnaldo Carvalho de Melo [Tue, 2 Sep 2003 00:38:37 +0000 (17:38 -0700)]
[PATCH] scsi cleanups

  o scsi/imm.h: use c99 style initialization

  As far as I verified this also fixes a bug when doing the
  table lookup for IMM_EPP_32, that would result in "Unknown"
  as IMM_EPP_32 is equal to 6 and there is the #ifdef...

ChangeSet@1.1386, 2003-09-02 00:11:07-03:00, acme@allegro.kerneljanitors.org
  o scsi/*.h: remove not needed #define NULL

ChangeSet@1.1385, 2003-09-02 00:05:16-03:00, acme@allegro.kerneljanitors.org
  o scsi/3w-xxx.h: use c99 style init

23 years ago[BLUETOOTH]: Fix typo in module alias changes.
David S. Miller [Mon, 1 Sep 2003 23:40:58 +0000 (16:40 -0700)]
[BLUETOOTH]: Fix typo in module alias changes.

23 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Mon, 1 Sep 2003 21:44:30 +0000 (14:44 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

23 years ago[NET]: Use MODULE_ALIAS() in network families.
Rusty Russell [Mon, 1 Sep 2003 21:38:35 +0000 (14:38 -0700)]
[NET]: Use MODULE_ALIAS() in network families.

Previously, default aliases were hardwired into modutils.  Now they
should be inside the modules, using MODULE_ALIAS() (they will be overridden
by any user alias).

23 years ago[SUNHME]: Fix non-sbus build.
Jeff Garzik [Mon, 1 Sep 2003 21:24:40 +0000 (14:24 -0700)]
[SUNHME]: Fix non-sbus build.

23 years agoMerge nuts.ninka.net:/disk1/davem/BK/network-2.5
David S. Miller [Mon, 1 Sep 2003 21:21:29 +0000 (14:21 -0700)]
Merge nuts.ninka.net:/disk1/davem/BK/network-2.5
into nuts.ninka.net:/disk1/davem/BK/net-2.5

23 years agoBe a lot more careful about TS_USEDFPU and preemption
Linus Torvalds [Mon, 1 Sep 2003 17:37:25 +0000 (10:37 -0700)]
Be a lot more careful about TS_USEDFPU and preemption

We had some races where we testecd (or set) TS_USEDFPU together
with sequences that depended on the setting (like clearing or
setting the TS flag in %cr0) and we could be preempted in between,
which screws up the FPU state, since preemption will itself change
USEDFPU and the TS flag.

This makes it a lot more explicit: the "internal" low-level FPU
functions ("__xxxx_fpu()") all require preemption to be disabled,
and the exported "real" functions will make sure that is the case.

One case - in __switch_to() - was switched to the non-preempt-safe
internal version, since the scheduler itself has already disabled
preemption.

23 years agoFix del_timer_sync() SMP memory ordering (from Tejun Huh <tejun@aratech.co.kr>)
Linus Torvalds [Mon, 1 Sep 2003 17:05:56 +0000 (10:05 -0700)]
Fix del_timer_sync() SMP memory ordering (from Tejun Huh <tejun@aratech.co.kr>)

From Tejun's posting:
>
> This patch fixes a race between del_timer_sync and recursive timers.
> Current implementation allows the value of timer->base that is used
> for timer_pending test to be fetched before finishing running_timer
> test, so it's possible for a recursive time to be pending after
> del_timer_sync.  Adding smp_rmb before timer_pending removes the race.

23 years ago[PATCH] Update IEEE1394 (r1047)
Ben Collins [Mon, 1 Sep 2003 13:16:27 +0000 (06:16 -0700)]
[PATCH] Update IEEE1394 (r1047)

subsys   : - Added hpsb_make_streampacket() helper
           - Fix re-probe of bus after reset, when node's generation
     changes
   - Missing spinlock.h include for csr.c

general  : - Fix a few warnings from size mismatches in printk's

raw1394  : - Added RAW1394_REQ_ASYNC_STREAM
           - Use vmalloc/vfree for larger buffer support

ohci1394 : - Fix a few endianess bugs in ISO routines

eth1394  : - Fix cleanup of failed packets

23 years agoMerge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
Linus Torvalds [Mon, 1 Sep 2003 11:25:27 +0000 (04:25 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[NET] move ethtool_op_set_tx_csum from 8139cp drvr to net/core/ethtool.c,
Jeff Garzik [Mon, 1 Sep 2003 16:25:59 +0000 (12:25 -0400)]
[NET] move ethtool_op_set_tx_csum from 8139cp drvr to net/core/ethtool.c,
where it belongs.

23 years ago[netdrvr fealnx] merge typo build fix (non-x86) from 2.4
Jeff Garzik [Mon, 1 Sep 2003 13:18:05 +0000 (09:18 -0400)]
[netdrvr fealnx] merge typo build fix (non-x86) from 2.4

23 years ago[netdrvr] ethtool_ops for epic100, fealnx, winbond-840, via-rhine
Jeff Garzik [Mon, 1 Sep 2003 13:05:15 +0000 (09:05 -0400)]
[netdrvr] ethtool_ops for epic100, fealnx, winbond-840, via-rhine

23 years agoMerge bk://kernel.bkbits.net/jgarzik/misc-2.5
Linus Torvalds [Mon, 1 Sep 2003 11:22:13 +0000 (04:22 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/misc-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[PCI, ia32] don't assume "c->x86 > 6" applies to non-Intel CPUs
Jeff Garzik [Mon, 1 Sep 2003 16:59:42 +0000 (12:59 -0400)]
[PCI, ia32] don't assume "c->x86 > 6" applies to non-Intel CPUs
when programming PCI cache line size.

Just to be on the safe side.  Suggested by Ingo Oeser.

23 years agoMerge redhat.com:/spare/repo/linux-2.5
Jeff Garzik [Mon, 1 Sep 2003 11:14:26 +0000 (07:14 -0400)]
Merge redhat.com:/spare/repo/linux-2.5
into redhat.com:/spare/repo/net-drivers-2.5

23 years ago[NET] move netif_* helpers from tg3 driver to linux/netdevice.h
Jeff Garzik [Mon, 1 Sep 2003 10:56:05 +0000 (06:56 -0400)]
[NET] move netif_* helpers from tg3 driver to linux/netdevice.h

Helpers moved:
netif_poll_{enable,disable}, __netif_rx_complete, netif_tx_disable

Use the helpers in net/core/dev.c.

23 years ago[PATCH] create an m68knommu sections.h
Greg Ungerer [Mon, 1 Sep 2003 10:38:26 +0000 (03:38 -0700)]
[PATCH] create an m68knommu sections.h

This patch creates a sections.h for the m68knommu architecture.
Nothing special needed, just an include of the generic code.

23 years ago[PATCH] create an m68knommu local.h
Greg Ungerer [Mon, 1 Sep 2003 10:38:17 +0000 (03:38 -0700)]
[PATCH] create an m68knommu local.h

This patch creates a local.h for the m68knommu arhcitecture. Like
most others architectures it is just an include of the generic one.

23 years ago[PATCH] irqreturn_t fixes for m68knommu irq.h
Greg Ungerer [Mon, 1 Sep 2003 10:38:09 +0000 (03:38 -0700)]
[PATCH] irqreturn_t fixes for m68knommu irq.h

23 years ago[PATCH] sr.c should issue TEST_UNIT_READY
Matthew Dharm [Mon, 1 Sep 2003 10:37:10 +0000 (03:37 -0700)]
[PATCH] sr.c should issue TEST_UNIT_READY

The linux/drivers/scsi/sr.c code will issue a MODE_SENSE[_10] command to
a device as the first command sent to the device.  If the device has
just come out of reset, it will likely respond with a UNIT_ATTENTION /
NOT_READY status, which causes the MODE_SENSE to fail.  In fact, the
device may have several UNIT_ATTENTION conditions queued up (power-up
reset, media change, etc.)

This results in the mode page 0x2a data not being properly read and
interpreted.  As an end-effect, things like packet-writing don't work
(because the writeable bit is not set).

The solution to this is to issue one or more TEST_UNIT_READY commands to
the device to clear any pending UNIT_ATTENTION conditions.  This is the
technique used by sd.c -- in fact, this code was lifted directly from
sd.c

At some point in the future, abstraction of this initial TEST_UNIT_READY
code between all high-level SCSI drivers may be apropriate.  For now,
this patch makes sr.c issue TEST_UNIT_READY to clear the UNIT_ATTENTION,
thus allowing the mode page 0x2a code to work properly.  Given the
approaching 2.6.0-final release, I urge that this patch be accepted.

23 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
Linus Torvalds [Mon, 1 Sep 2003 10:32:04 +0000 (03:32 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[netdrvr ne2k-pci] ethtool_ops support
Jeff Garzik [Mon, 1 Sep 2003 09:03:08 +0000 (05:03 -0400)]
[netdrvr ne2k-pci] ethtool_ops support

23 years ago[netdrvr ne2k-pci] allocate netdev+8390 struct using new alloc_ei_netdev()
Jeff Garzik [Mon, 1 Sep 2003 08:58:58 +0000 (04:58 -0400)]
[netdrvr ne2k-pci] allocate netdev+8390 struct using new alloc_ei_netdev()

Also, call pci_disable_device() in PCI ->remove handler,
to match pci_enable_device() in PCI ->probe handler.

23 years ago[netdrvr 8390] new function alloc_ei_netdev()
Jeff Garzik [Mon, 1 Sep 2003 08:50:25 +0000 (04:50 -0400)]
[netdrvr 8390] new function alloc_ei_netdev()

(preferred over alloc_etherdev + 8390-specific ethdev_init)

23 years ago[netdrvr de2104x] ethtool_ops support
Jeff Garzik [Mon, 1 Sep 2003 07:06:15 +0000 (03:06 -0400)]
[netdrvr de2104x] ethtool_ops support

23 years agoDon't claim exclusive ownership of the device when doing
Linus Torvalds [Mon, 1 Sep 2003 05:24:11 +0000 (22:24 -0700)]
Don't claim exclusive ownership of the device when doing
the SG_IO and SCSI_IOCTL_SEND_COMMAND ioctl's. That just
screws things up when the drive is mounted.

If somebody wants exclusive access, he should indicate that
at open time.

23 years agoMerge bk://kernel.bkbits.net/acme/scsi-2.6
Linus Torvalds [Mon, 1 Sep 2003 04:18:09 +0000 (21:18 -0700)]
Merge bk://kernel.bkbits.net/acme/scsi-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoo scsi: remove include procfs_h from hosts.h
Arnaldo Carvalho de Melo [Mon, 1 Sep 2003 15:01:44 +0000 (12:01 -0300)]
o scsi: remove include procfs_h from hosts.h

23 years agoMerge nuts.ninka.net:/disk1/davem/BK/network-2.5
David S. Miller [Mon, 1 Sep 2003 04:06:51 +0000 (21:06 -0700)]
Merge nuts.ninka.net:/disk1/davem/BK/network-2.5
into nuts.ninka.net:/disk1/davem/BK/net-2.5

23 years ago[PATCH] IO scheduler, not elevator
Jens Axboe [Mon, 1 Sep 2003 03:34:08 +0000 (20:34 -0700)]
[PATCH] IO scheduler, not elevator

I've been trying to remove these, but apparently new ones crop up. Lets
just call it io scheduler, none of the ones in the kernel are using the
classic elevator algorithm.

23 years ago[PATCH] vfat_valid_longname() cleanup
Hirofumi Ogawa [Mon, 1 Sep 2003 03:27:00 +0000 (20:27 -0700)]
[PATCH] vfat_valid_longname() cleanup

From René Scharfe <l.s.r@web.de>

As a result the size of vfat.o drops by 384 bytes in my build.

23 years agoMerge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
Linus Torvalds [Mon, 1 Sep 2003 03:26:16 +0000 (20:26 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge bk://kernel.bkbits.net/jgarzik/pci-2.5
Linus Torvalds [Mon, 1 Sep 2003 03:25:26 +0000 (20:25 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/pci-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[video planb] don't hardware pci command/cacheline/latency values,
Jeff Garzik [Mon, 1 Sep 2003 07:41:34 +0000 (03:41 -0400)]
[video planb] don't hardware pci command/cacheline/latency values,
use the PCI layer instead to provide those for us.

23 years ago[tokenring lanstreamer] clean up MWI / PCI_CACHE_LINE_SIZE usage
Jeff Garzik [Mon, 1 Sep 2003 07:31:03 +0000 (03:31 -0400)]
[tokenring lanstreamer] clean up MWI / PCI_CACHE_LINE_SIZE usage

* remove PCI_CACHE_LINE_SIZE workaround, PCI core already does
  this for us.  (main change)
* propagate pci_set_dma_mask return value
* add 'ULL' suffix to pci_set_dma_mask arg
* propagate pci_enable_device return value
* call pci_set_mwi, check and propagate its return value
* call pci_clear_mwi and pci_disable_device on close, and probe error
* call iounmap when cleaning up

23 years ago[PCI] Remove cases where PCI_CACHE_LINE_SIZE is hardcoded.
Jeff Garzik [Mon, 1 Sep 2003 07:24:50 +0000 (03:24 -0400)]
[PCI] Remove cases where PCI_CACHE_LINE_SIZE is hardcoded.

Modifies drivers atm/eni.c, ide/pci/cmd64x.c, and
ide/pci/ns87415.c.  Ack'd by DaveM.

23 years ago[PATCH] meye driver update
Stelian Pop [Mon, 1 Sep 2003 03:25:05 +0000 (20:25 -0700)]
[PATCH] meye driver update

This implements the needed 'release' callback in order to make
videodev/sysfs happy again.