aboutsummaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)AuthorFilesLines
2005-10-22libata: const-ification bombing runJeff Garzik18-74/+74
Enforce access rules where appropriate. If the compiler is smart enough, this may buy us an optimization or two as a side effect.
2005-10-21Merge branch 'upstream'Jeff Garzik21-97/+316
2005-10-21Add ide-timing functionality to libata.Alan Cox1-0/+149
This is needed for full AMD and VIA drivers and possibly more. Functions to turn actual clocking and cycle timings into register values. Also to merge shared timings to compute an optimal timing set. Built from the drivers/ide version by Vojtech Pavlik Signed-off-by: Alan Cox <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-21libata: handle early device PIO modes correctlyAlan Cox1-4/+27
2005-10-21[PATCH] drm: another mga bugDave Airlie3-3/+4
The wrong state emission routines were being called for G550, and consistent maps weren't correctly mapped... Signed-off-by: Dave Airlie <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-21[PATCH] mptsas: fix phy identifiersEric Moore1-4/+8
This fixes handling of the phy identifiers in mptsas. Signed-off-by: Eric Moore <[email protected]> [ split it a pre-2.6.14 portion from Eric's bigger patch ] Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-21[PATCH] iomem annotations (sata_vsc)Al Viro1-5/+5
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-21[PATCH] iomem annotations (sata_sil)Al Viro1-2/+2
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-21[PATCH] iomem annotations (sata_sx4)Al Viro1-10/+9
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-21[PATCH] enum safety (sata_qstor)Al Viro1-2/+4
sata_qstor strays into a nasty area - gcc handling of wide enums is full of bugs that got fixed between gcc versions creating portability nightmare. Single-member enums are safe, so are ones that stay within the range of int or unsigned int. Anything beyond that is asking for trouble. Declaration of constants split in two enums, taking the ~0UL one into a separate enum. Signed-off-by: Al Viro <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-21[PATCH] iomem annotations (sata_promise)Al Viro1-4/+4
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-21[PATCH] iomem annotations (ahci)Al Viro1-4/+4
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-21[PATCH] iomem annotations (sata_nv)Al Viro1-2/+2
Signed-off-by: Al Viro <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-20[PATCH] sb1250-mac: PHY probing fixes.Ralf Baechle1-0/+36
Improve sb1250-mac driver to probe for PHYs at addresses other than 1, such as the PHYs on BigSur. Signed-Off-By: Andy Isaacson <[email protected]> Signed-off-by: Ralf Baechle <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-20[PATCH] libata: Marvell endian fixBrett Russ1-2/+3
Jeff found an endian bug in the Marvell driver (thanks!). Here's the fix for it. Signed-off-by: Brett Russ <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-20Merge branch 'master'Jeff Garzik12-62/+107
2005-10-20Merge branch 'master'Jeff Garzik12-62/+107
2005-10-20[PATCH] e1000: Driver version, white space, comments, device id & otherMallikarjuna R Chilakala1-4/+9
Driver version, white space, comments, device id & other Originally posted on 8/31 (and perhaps before)...I think it has not been committed because the patch from that posting was damaged. I'm reposting to make sure it gets in... :-) Signed-off-by: Mallikarjuna R Chilakala <[email protected]> Signed-off-by: Ganesh Venkatesan <[email protected]> Signed-off-by: John Ronciak <[email protected]> Signed-off-by: John W. Linville <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-20[PATCH] sundance: include MII address 0 in PHY probeJohn W. Linville1-4/+5
Include MII address 0 at the end of the PHY scan. This covers the entire range of possible MII addresses. Signed-off-by: John W. Linville <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-19[PATCH] scsi_error thread exits in TASK_INTERRUPTIBLE state.Steven Rostedt1-0/+2
Found in the -rt patch set. The scsi_error thread likely will be in the TASK_INTERRUPTIBLE state upon exit. This patch fixes this bug. Signed-off-by: Steven Rostedt <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-19[PATCH] `unaligned access' in acpi get_root_bridge_busnr()Peter Chubb1-4/+4
In drivers/acpi/glue.c the address of an integer is cast to the address of an unsigned long. This breaks on systems where a long is larger than an int --- for a start the int can be misaligned; for a second the assignment through the pointer will overwrite part of the next variable. Signed-off-by: Peter Chubb <[email protected]> Acked-by: "Brown, Len" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-19[PATCH] fix MGA DRM regression before 2.6.14Dave Airlie1-3/+19
I've gotten a report on lkml, of a possible regression in the MGA DRM in 2.6.14-rc4 (since -rc1), I haven't been able to reproduce it here, but I've figured out some possible issues in the mga code that were definitely wrong, some of these are from DRM CVS, the main fix is the agp enable bit on the old code path still used by everyone..... Signed-off-by: Dave Airlie <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-19[PATCH] Three one-liners in md.cNeilBrown1-1/+3
The main problem fixes is that in certain situations stopping md arrays may take longer than you expect, or may require multiple attempts. This would only happen when resync/recovery is happening. This patch fixes three vaguely related bugs. 1/ The recent change to use kthreads got the setting of the process name wrong. This fixes it. 2/ The recent change to use kthreads lost the ability for md threads to be signalled with SIG_KILL. This restores that. 3/ There is a long standing bug in that if: - An array needs recovery (onto a hot-spare) and - The recovery is being blocked because some other array being recovered shares a physical device and - The recovery thread is killed with SIG_KILL Then the recovery will appear to have completed with no IO being done, which can cause data corruption. This patch makes sure that incomplete recovery will be treated as incomplete. Note that any kernel affected by bug 2 will not suffer the problem of bug 3, as the signal can never be delivered. Thus the current 2.6.14-rc kernels are not susceptible to data corruption. Note also that if arrays are shutdown (with "mdadm -S" or "raidstop") then the problem doesn't occur. It only happens if a SIGKILL is independently delivered as done by 'init' when shutting down. Signed-off-by: Neil Brown <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-19[PATCH] raw1394: fix locking in the presence of SMP and interruptsAndy Wingo2-49/+57
Changes all spinlocks that can be held during an irq handler to disable interrupts while the lock is held. Changes spin_[un]lock_irq to use the irqsave/irqrestore variants for robustness and readability. In raw1394.c:handle_iso_listen(), don't grab host_info_lock at all -- we're not accessing host_info_list or host_count, and holding this lock while trying to tasklet_kill the iso tasklet this can cause an ABBA deadlock if ohci:dma_rcv_tasklet is running and tries to grab host_info_lock in raw1394.c:receive_iso. Test program attached reliably deadlocks all SMP machines I have been able to test without this patch. Signed-off-by: Andy Wingo <[email protected]> Acked-by: Ben Collins <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-19[PATCH] orinoco: limit message rateAndrew Morton1-2/+3
Brice Goglin <[email protected]> reports a printk storm from this driver. Fix. Acked-by: David Gibson <[email protected]> Cc: Jeff Garzik <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
2005-10-19[PATCH] sb1250-mac: Whitespace cleanup.Ralf Baechle1-515/+515
Signed-off-by: Ralf Baechle <[email protected]> drivers/net/sb1250-mac.c | 1030 +++++++++++++++++++++++------------------------ 1 files changed, 515 insertions(+), 515 deletions(-) Signed-off-by: Jeff Garzik <[email protected]>
2005-10-19[PATCH] sb1250-mac: Get rid of all the funny SBMAC_WRITECSR and ↵Ralf Baechle1-171/+132
SBMAC_READCSR macros. Signed-off-by: Ralf Baechle <[email protected]> drivers/net/sb1250-mac.c | 303 ++++++++++++++++++++--------------------------- 1 files changed, 132 insertions(+), 171 deletions(-) Signed-off-by: Jeff Garzik <[email protected]>
2005-10-19[PATCH] Remove unused header.Ralf Baechle1-62/+0
mkiss.h has been integrated into mkiss.c earlier. Signed-off-by: Ralf Baechle DL5RB <[email protected]> drivers/net/hamradio/mkiss.h | 62 ------------------------------------------- 1 files changed, 62 deletions(-) Signed-off-by: Jeff Garzik <[email protected]>
2005-10-19[SCSI] scsi_error thread exits in TASK_INTERRUPTIBLE state.Steven Rostedt1-0/+2
Found in the -rt patch set. The scsi_error thread likely will be in the TASK_INTERRUPTIBLE state upon exit. This patch fixes this bug. Signed-off-by: Steven Rostedt <[email protected]> Signed-off-by: James Bottomley <[email protected]>
2005-10-18[PATCH] e1000 build fixAndrew Morton1-1/+1
Cc: Jeff Garzik <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-18[PATCH] sundance: expand reset maskJohn W. Linville1-1/+1
Expand the mask used when reseting the chip to include the GlobalReset bit. This fix comes from ICPlus and seems to be required for some cards. Signed-off-by: John W. Linville <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-18[PATCH] sundance: remove if (1) { ... } block in sundance_probe1John W. Linville1-23/+21
Remove an if (1) { ... } block in sundance_probe1. Its purpose seems to be only to allow for delaring some extra local variables. But, it also adds ugly indentation without adding any meaning to the code. Signed-off-by: John W. Linville <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-18[PATCH] orinoco: remove redundance skb length check before paddingJohn W. Linville1-5/+3
Checking the skb->len value before calling skb_padto is redundant. Signed-off-by: John W. Linville <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-18[PATCH] b44: alternate allocation option for DMA descriptorsJohn W. Linville2-8/+128
This is a (final?) hack to support the odd DMA allocation requirements of the b44 hardware. The b44 hardware has a 30-bit DMA mask. On x86, anything less than a 32-bit DMA mask forces allocations into the 16MB GFP_DMA range. The memory there is somewhat limited, often resulting in an inability to initialize the b44 driver. This hack uses streaming DMA allocation APIs in order to provide an alternative in case the GFP_DMA allocation fails. It is somewhat ugly, but not much worse than the similar existing hacks to support SKB allocations in the same driver. FWIW, I have received positive feedback on this from several Fedora users. Signed-off-by: John W. Linville <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-18[PATCH] bonding: cleanup comment for mode 1 IGMP xmit hackJohn W. Linville1-3/+7
Expand comment explaining MAC address selection for replicated IGMP frames transmitted in bonding mode 1 (active-backup). Also, a small whitespace cleanup. Signed-off-by: John W. Linville <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-18[PATCH] 8139too: fix resume for Realtek 8100B/8139DJohn W. Linville1-1/+2
Add "HasHltClk" flag for RTL-8100B/8139D hardware in order to fix problems resuming from suspend-to-RAM. Signed-off-by: John W. Linville <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-18[PATCH] epic100: fix counting of work_done in epic_pollJohn W. Linville1-2/+2
work_done is overwritten each time through the rx_action loop in epic_poll. This screws-up the NAPI accounting if the loop is executed more than once. Signed-off-by: John W. Linville <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-18[PATCH] via-rhine: change mdelay to msleep and remove from ISR pathJohn W. Linville1-3/+31
Get rid of the mdelay call in rhine_disable_linkmon. The function is called from the via-rhine versions of mdio_read and mdio_write. Those functions are indirectly called from rhine_check_media and rhine_tx_timeout, both of which can be called in interrupt context. So, create tx_timeout_task and check_media_task as instances of struct work_struct inside of rhine_private. Then, change rhine_tx_timeout to invoke schedule_work for tx_timeout_task (i.e. rhine_tx_timeout_task), moving the work to process context. Also, change rhine_error (invoked from rhine_interrupt) to invoke schedule_work for check_media_task (i.e. rhine_check_media_task), which simply calls rhine_check media in process context. Finally, add a call to flush_scheduled_work in rhine_close to avoid any resource conflicts with pending work items. Signed-off-by: John W. Linville <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-18[PATCH] s2io build fixAndrew Morton1-1/+1
Cc: Jeff Garzik <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-18[PATCH] e1000_intr build fixAndrew Morton1-1/+1
drivers/net/e1000/e1000_main.c: In function `e1000_intr': drivers/net/e1000/e1000_main.c:3156: error: `i' undeclared (first use in this function) drivers/net/e1000/e1000_main.c:3156: error: (Each undeclared identifier is reported only once drivers/net/e1000/e1000_main.c:3156: error: for each function it appears in.) This function is foul. Cc: Jeff Garzik <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Jeff Garzik <[email protected]>
2005-10-18Merge branch 'upstream'Jeff Garzik69-586/+2283
2005-10-18[PATCH] mipsnet: Virtual ethernet driver for MIPSsim.Ralf Baechle4-0/+507
Signed-off-by: Ralf Baechle <[email protected]> drivers/net/Kconfig | 8 + drivers/net/Makefile | 1 drivers/net/mipsnet.c | 371 ++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/net/mipsnet.h | 127 +++++++++++++++++ 4 files changed, 507 insertions(+) Signed-off-by: Jeff Garzik <[email protected]>
2005-10-18[PATCH] ne: Support for RBHMA4500 eval board.Ralf Baechle1-0/+15
Support for Toshiba's RBHMA4500 eval board for the TX4938. Signed-off-by: Ralf Baechle <[email protected]> drivers/net/ne.c | 15 +++++++++++++++ 1 files changed, 15 insertions(+) Signed-off-by: Jeff Garzik <[email protected]>
2005-10-18[PATCH] declance: Use physical addresses at the interface level.Ralf Baechle1-16/+10
Use physical addresses at the interface level, letting drivers remap them as appropriate. Signed-off-by: Ralf Baechle <[email protected]> drivers/net/declance.c | 26 ++++++++++---------------- 1 files changed, 10 insertions(+), 16 deletions(-) Signed-off-by: Jeff Garzik <[email protected]>
2005-10-18[PATCH] declance: Deal with the bloody KSEG vs CKSEG horror...Ralf Baechle1-1/+1
Signed-off-by: Ralf Baechle <[email protected]> drivers/net/declance.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Jeff Garzik <[email protected]>
2005-10-18[PATCH] declance: Fix mapping of device.Ralf Baechle1-2/+2
These should really be addresses obtained with ioremap() or some bus-specific backend, but for now... Signed-off-by: Ralf Baechle <[email protected]> drivers/net/declance.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Signed-off-by: Jeff Garzik <[email protected]>
2005-10-18[PATCH] declance: Convert to irqreturn_t.Ralf Baechle1-2/+3
Signed-off-by: Ralf Baechle <[email protected]> drivers/net/declance.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Signed-off-by: Jeff Garzik <[email protected]>
2005-10-18[PATCH] sgiseeq: Configure PIO and DMA timing requests.Ralf Baechle1-14/+14
Signed-off-by: Ralf Baechle <[email protected]> drivers/net/sgiseeq.c | 28 ++++++++++++++-------------- include/asm-mips/sgi/hpc3.h | 40 ++++++++++++++++++++-------------------- 2 files changed, 34 insertions(+), 34 deletions(-) Signed-off-by: Jeff Garzik <[email protected]>
2005-10-18[PATCH] sgiseeq: Fix resource handling.Ralf Baechle1-5/+4
Signed-off-by: Ralf Baechle <[email protected]> drivers/net/sgiseeq.c | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) Signed-off-by: Jeff Garzik <[email protected]>
2005-10-18[PATCH] de2104x: Resurrect Cobalt support for 2.6.Ralf Baechle1-0/+5
Signed-off-by: Ralf Baechle <[email protected]> drivers/net/tulip/de2104x.c | 5 +++++ 1 files changed, 5 insertions(+) Signed-off-by: Jeff Garzik <[email protected]>