- 26 Feb, 2003 31 commits
-
-
http://linux-scsi.bkbits.net/scsi-for-linus-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
James Bottomley authored
-
Adrian Bunk authored
In 2.5.63 I get the following compile error in drivers/scsi/sym53c416.c: <-- snip --> ... gcc -Wp,-MD,drivers/scsi/.sym53c416.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include -DKBUILD_BASENAME=sym53c416 -DKBUILD_MODNAME=sym53c416 -c -o drivers/scsi/sym53c416.o drivers/scsi/sym53c416.c drivers/scsi/sym53c416.c: In function `sym53c416_detect': drivers/scsi/sym53c416.c:682: too many arguments to function `pnp_activate_dev' make[2]: *** [drivers/scsi/sym53c416.o] Error 1 <-- snip --> The following patch fixes it:
-
Adrian Bunk authored
In 2.5.63 I get the following compile error in drivers/scsi/g_NCR5380.c: <-- snip --> ... gcc -Wp,-MD,drivers/scsi/.g_NCR5380.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=k6 -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include -DKBUILD_BASENAME=g_NCR5380 -DKBUILD_MODNAME=g_NCR5380 -c -o drivers/scsi/g_NCR5380.o drivers/scsi/g_NCR5380.c drivers/scsi/g_NCR5380.c: In function `generic_NCR5380_detect': drivers/scsi/g_NCR5380.c:326: too many arguments to function `pnp_activate_dev' ... make[2]: *** [drivers/scsi/g_NCR5380.o] Error 1 <-- snip --> The following patch fixes it:
-
Mike Anderson authored
Patrick pointed out that I could get into a ABBA issue with holding list_lock while calling scsi_eh_scmd_add which takes host_lock. A call to scsi_prep_fn already holds the queue_lock and then makes a call to scsi_get_command which takes list_lock. -andmike -- Michael Anderson andmike@us.ibm.com ===== name: 00_scsi_set_device_offline.diff version: 2003-02-26.15:18:19-0800 against: scsi-misc-2.5 scsi.c | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) =====
-
bk://kernel.bkbits.net/jgarzik/net-drivers-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
John Levon authored
Against 2.5.63, untested regards john
-
Christoph Hellwig authored
On Wed, Feb 26, 2003 at 08:20:05PM +0100, Christoph Hellwig wrote: > This patch updates nsp_cs to use scsi_add_host / scsi_remove_host when > compiledfor Linux 2.5 which allows to get rid of the scsi host list > walks and is a preparation for allowing to support multiple cards of > this type. Sorry, I sent you the wrong paetch, here's the right one:
-
John Levon authored
Against 2.5.63, untested regards john
-
John Levon authored
Against 2.5.63, untested regards john
-
John Levon authored
Untested, against 2.5.63 regards john
-
John Levon authored
Untested, 2.5.63
-
Christoph Hellwig authored
I remember having this submitted a while ago, but here's the code again, this time with the untested aic79xx bits.
-
John Levon authored
Not tested, against 2.5.63 regards john
-
Rolf Eike Beer authored
This patch makes sure that there is a "0x" in front of all hex numbers and makes all outputs use a single style (all %x instead of mixed %x and %X). Eike
-
James Bottomley authored
-
ssh://mulgrave-w/BK/scsi-misc-2.5James Bottomley authored
into raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5
-
Dave Jones authored
Same bug as other sym driver.
-
Dave Jones authored
Spelling fixes! Woo! I gotta get me some of that.
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
-
Dave Jones authored
First hunk is unexplained. Second hunk had the 2.4 changeset comment 'fix warnings'
-
Dave Jones authored
This made it into 2.4, and aparently fixes a problem with some tape devices.
-
Dave Jones authored
>From 2.4
-
Dave Jones authored
-
Dave Jones authored
-
Mikael Pettersson authored
1) apic_write_around(APIC_ID, boot_cpu_physical_apicid) places the APIC value in the lower 8 bits of APIC_ID, when it should be in the upper 8. As as result, it effectively forces the APIC id to always be 0 for the boot CPU, which is fatal on SMP AMD boxes. Fix: don't do the write at all. The APIC_ID value should be right already. 2) phys_cpu_present_map = 1 means we always set bit 0, but later on in setup_local_APIC() we do if (!clustered_apic_mode && !test_bit(GET_APIC_ID(apic_read(APIC_ID)), &phys_cpu_present_map)) BUG(); and the bug is triggered if the APIC_ID is not zero. Fix: initialize 'phys_cpu_present_map' correctly.
-
Jeff Garzik authored
into redhat.com:/garz/repo/net-drivers-2.5
-
- 25 Feb, 2003 9 commits
-
-
Jeff Garzik authored
into redhat.com:/garz/repo/net-drivers-2.5
-
Jean Tourrilhes authored
In kernel 2.5.63, you have moved more wireless LAN drivers into ../drivers/net/wireless/. Unfortunately, there was a bit more to cleanup as the result of this work. You will need to : o Apply the attached patch o rm /drivers/net/pcmcia/aironet4500_cs.c Have fun... Jean P.S. : You will notice that I took the liberty to organise the config option in what I hope is a more logical order.
-
Jeff Garzik authored
* call netif_tx_disable after netif_poll_disable, fixing TX race, in tg3_netif_stop * follow the ordering of the tg3_netif_stop change, and enable poll after waking TX, in tg3_netif_start * after doing those two steps in tg3_netif_start, check for work using new helper function tg3_cond_int * add helper function tg3_cond_int, which delivers an interrupt if and only if the status block was updated (i.e. if work is likely to be available)
-
Jeff Garzik authored
-
Jeff Garzik authored
-
Jeff Garzik authored
* do not hold driver spinlock during RX processing in tg3_poll (this is the deadlock fix) * create netif_poll_{en,dis}able to synchronize against dev->poll() * create __netif_rx_complete to avoid a third irq-save in tg3_poll * create tg3_netif_{start,stop} as driver-specific helper functions which disable and enable NAPI polling and TX queueing. Note that the TX queueing enable/disable is purely advisory, and is not intended to prevent any races. * remove tg3_halt call from tg3_set_power_state, as all callers have already called tg3_halt, making it redundant. Removing this function call also eliminates some locking complications. * use new helper __netif_rx_complete in tg3_poll * create tg3_reset_task, as a function that runs in process context which resets the NIC. This is needed because tg3_netif_stop() calls schedule() in the process of disabling dev->poll. * schedule tg3_reset_task from tg3_tx_timeout * schedule tg3_reset_task from tg3_timer * wrap several tg3_halt...tg3_init_hw sequences with tg3_netif_stop...tg3_netif_start. In addition to synchronizing with dev->poll, this additionally fixes bugs where we were not calling netif_wake_queue, when we should have been. * move netif_start_queue call to very bottom of tg3_open * add missing tg3_netif_{start,stop} to tg3_{suspend,resume}, further fixing obvious bugs.
-
Jeff Garzik authored
-
Jeff Garzik authored
into redhat.com:/garz/repo/net-drivers-2.5
-
Linus Torvalds authored
-