- 09 Oct, 2002 40 commits
-
-
David S. Miller authored
-
David Jeffery authored
2 bug fixes for scsi pass through When talking directly to scsi devices, the driver would sometimes get two things wrong. We could set too short of a timeout. Or, we could confuse the adapter by having non-zero values in certain fields which we shouldn't have been using. This patch corrects these problems.
-
David Jeffery authored
2 minor bug fixes. The first section makes sure we limit the size of the sense_buffer copy to the target buffer's size so that we don't overflow the sence_buffer. The other sections remove some pointer arithmatic that is wrong on 64bit machines do to padding. Instead, just call the pci_map functions on the buffer.
-
David Jeffery authored
This is by far the biggest patch. It is a rewrite of the driver's horrid locking. In addition to the host_lock, the driver used to have 4 other locks per adapter! It had a redundant ha_lock and a lock for each of 3 queues. In a few places it also played with atomic bit setting. And almost all of it was useless as the host_lock was already held. This patch cleans up this locking nightmare. The driver now uses the host_lock exclusively. Only a few places needed to add calls to lock the host_lock. Most of this patch is deletion of useless extra locking.
-
David Jeffery authored
This patch adds an Adaptec copyright, makes a few minor comment changes, and removes a few unneeded macros.
-
David Jeffery authored
This patch is some simple code consolidation. A new function ips_abort_init() is created and consolidates some repeated code that is used if there is an error during initialization of the adapter.
-
David Jeffery authored
This removes several unused header includes and allows the driver to compile by no longer trying to include <linux/tqueue.h> . You may have already gotten a patch to remove tqueue.h from someone else. This patch also corrects the spelling of my last name in the MAINTAINERS file. You'd think I'd be used to seeing it spelled wrong by now.
-
Linus Torvalds authored
indent -kr -i8 -bri0 -l255 wd7000.{c,h}
-
Doug Ledford authored
-
Robert Love authored
Comment above getpid() is wrong. This patch fixes it, and expands the comment to explain why on earth we have getpid() returning ->tgid and not ->pid.
-
Robert Love authored
Now that brlocks loop over NR_CPUS, on SMP every br_lock/br_unlock results in the acquire/release of 32 locks. This incs/decs the preempt_count by 32. Since we only have 7 bits now for actually storing the lock depth, we cannot nest but 3 locks deep. I doubt we ever acquire three brlocks concurrently, but it is still a concern. Attached patch disables/enables preemption explicitly once and only once for each lock/unlock. This is also an optimization as it removes 31 incs, decs, and conditionals. :) Problem reported by Andrew Morton.
-
Alan Cox authored
Not much here, just some tidying/checking. This driver can't alas use NAPI in 2.5. Note however it has no panics or BUG()s so appears to meet the carrier grade guidelines ;) - Clarified authors so I get the mail not Donald - Added missing MODULE_ bits - Moved junk into 3c501.h
-
Alan Cox authored
- new locking - new_eh - use ->page/->offset
-
bk://ldm.bkbits.net/linux-2.5-ideLinus Torvalds authored
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
-
Patrick Mochel authored
This was accidentally dropped before, but re-added now to completely mimic behavior of the reboot notifier IDE used to have.
-
Patrick Mochel authored
The remove() method is generic for all drives, and set in ide_driver_t::gen_driver. The call simply forwards the call to ide_driver_t::standby(). This obviates the need for IDE reboot notifier. The core iterates over all present devices in device_shutdown() and unregisters each one.
-
Patrick Mochel authored
This adds struct device_driver gen_driver; to ide_driver_t, which is filled in with necessary fields when an ide driver calls ide_register_driver(). That then registers the driver with the driver model core. As a result, this gives us the following output in driverfs: # tree -d /sys/bus/ide/drivers/ /sys/bus/ide/drivers/ |-- ide-cdrom `-- ide-disk The suspend/resume callbacks in ide-disk.c have been temporarily disabled until the ide core implements generic methods which forward the calls to the drive drivers.
-
Thomas Molina authored
the netfilter ipt owner module still needs the following to compile
-
Thomas Molina authored
A second instance of lock had been inadvertently added to v_midi.h
-
Patrick Mochel authored
... instead of the one in struct gendisk.
-
Martin Schwidefsky authored
Fix 3270 console reboot loop. Recognize 3270 control unit type 3174. Fix tubfs kmallocs. Dynamically get 3270 input buffer. Get bootup colors right on 3270 console
-
Martin Schwidefsky authored
Pass the system call number in grp2 to strace instead of -ENOSYS.
-
Martin Schwidefsky authored
Remove a duplicate memset. That is already done in alloc_disk.
-
Martin Schwidefsky authored
Correct typo in the vmlinux.lds.S files.
-
Martin Schwidefsky authored
Switch from work queues to tasklets in the 3215 and 3270 drivers.
-
Martin Schwidefsky authored
Remove all tq_structs from s390 driver code.
-
Martin Schwidefsky authored
Switch to @$(generate-asm-offsets.h) method to create the asm-offsets.h file, fix signal dequeueing in the 31 bit emulation code and fix includes.
-
bk://linux-input.bkbits.net/linux-inputLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Vojtech Pavlik authored
-
Vojtech Pavlik authored
several notebook keyboards. Until we find a better solution how to detect who are we talking to, we rely on the kernel command line. Use atkbd_set=4 to gain access to the extra keys.
-
Vojtech Pavlik authored
-
Vojtech Pavlik authored
-
Vojtech Pavlik authored
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Christoph Hellwig authored
Switch over ATM code to initcalls and reorder the makefile so that link order inside atm is the same. I've also cleaned up the makefile a bit while at it. I didn't fix the existing compilation problems in the drivers (cli & friends) and the broken le/be firmware selection for the fore200e cards (kbuild breakage) though.
-
Jens Axboe authored
Noticed by Peter Chubb. SCpnt->sense_buffer[0] has to _equal_ 0xf0 for the sense to be valid, not vice versa.
-
Andrew Morton authored
Make 64-bit sector_t compulsory. Accelerated testing...
-
Andrew Morton authored
From Peter Chubb The bios geometry is almost useless, except for fdisk to try to write an MSDOS partition table that is vaguely compatible with one written by other operating systems. If the size of disc will overflow a ten-bit cylinder number, then all bets are off anyway. So fake it by casting the true disc capacity to a smaller type (than u64), so that we avoid 64-bit division on 32-bit platforms. If the disc is small enough that the number of cylinders is correct, then this has no effect; otherwise, the number-of-cylinders we report is bogus, but you can't use an MSDOS-format partition table on such a drive anyway --- use the EFI GPT or the LDM partitioning, which use 64-bit offsets internally.
-
Andrew Morton authored
From Peter Chubb Get rid of need for GCC _udivdi3 and _umoddi3 helper functions - use sector_div more aggressively.
-