summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)AuthorFilesLines
2008-09-01sparc64: Apply const or __initdata to vio_device_id[]David S. Miller2-4/+4
This mirrors the of_device_id[] changes done in fd098316ef533e8441576f020ead4beab93154ce ("sparc: Annotate of_device_id arrays with const or __initdata.") Signed-off-by: David S. Miller <davem@davemloft.net>
2008-09-01sparc: remove CONFIG_SUN4Adrian Bunk2-43/+0
While doing some easy cleanups on the sparc code I noticed that the CONFIG_SUN4 code seems to be worse than the rest - there were some "I don't know how it should work, but the current code definitely cannot work." places. And while I have seen people running Linux on machines like a SPARCstation 5 a few years ago I don't recall having seen sun4 machines, even less ones running Linux. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
2008-09-01leds: Add driver for Sunfire UltraSPARC server LEDs.David S. Miller3-0/+282
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-31sparc: Annotate of_device_id arrays with const or __initdata.David S. Miller34-35/+35
As suggested by Stephen Rothwell. Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-30sparc32: Convert PC RTC probing to pure OF driver.David S. Miller1-13/+17
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-30bbc_envctrl: Fix build errors from bbc_i2c OF conversion.David S. Miller1-3/+3
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-30bbc_i2c: Convert to pure OF driver.David S. Miller3-249/+214
This thing was a mess, who wrote this junk? :) Luckily we'll soon have nice generic I2C layer drivers for this PCF based I2C stuff on sparc64. Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-30envctrl: Convert to pure OF driver.David S. Miller1-68/+79
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-30display7seg: Convert to pure OF device driver.David S. Miller1-105/+146
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-30sun_uflash: Convert to pure OF driver.David S. Miller1-38/+35
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-30cpwatchdog: Move to drivers/watchdog/cpwd.cDavid S. Miller3-2/+2
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-30cpwatchdog: Cleanup and convert to pure OF driver.David S. Miller1-599/+436
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-30riowd: Distinguish between driver name and OF device node name.David S. Miller1-5/+5
Driver messages should print the driver name, rather than the OF device node name. Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-30riowatchdog: Move under drivers/watchdogDavid S. Miller3-2/+3
The config stuff was already in drivers/watchdog/Kconfig Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-30riowatchdog: Convert to pure OF driver.David S. Miller1-135/+99
This also cleans up a lot of crud in this driver: 1) Don't touch the BBC regs, just leave the watchdog trigger behavior whatever the firmware programmed it to. 2) Use WATCHDOG_MINOR instead of hardcoded and not properly allocated RIOWD_MINOR. Hey, I haven't touched it since I wrote it years ago :-) Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-30rtc: Add Starfire platform RTC driver.David S. Miller3-0/+128
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-30rtc: Add Sun4V hypervisor RTC driver.David S. Miller3-0/+161
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-30rtc: Add TI BQ4802 RTC driver.David S. Miller3-0/+239
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-30rtc: Allow RTC_DRV_CMOS to be used on SPARC.David S. Miller2-3/+4
Add Sparc to the Kconfig depends list. Add __sparc___ to address_sparc = 128 ifdef. Finally, don't be concerned about 24-hour BCD mode support if the RTC doesn't have a valid IRQ. We won't even use the alarm code in this case and the Sparc RTCs have this limitation. Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29sparc: Remove generic SBUS probing layer.David S. Miller2-174/+0
The individual SBUS IOMMU arch code now sets the IOMMU information directly into the OF device objects. Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29sparc: Kill sbus_arch_preinit().David S. Miller1-3/+0
32-bit sparc just needed it to register the ioport procfs bits, do this via an arch_initcall() instead. Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29sparc: Kill OBP property members of sbus_dev and sbus_busDavid S. Miller1-17/+1
Unused. Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29sparc: Remove dinky old-style SBUS probing facilities.David S. Miller1-14/+0
No drivers or code uses this stuff any more, every driver has been converted over to OF device probing. Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29sparc: Remove SBUS layer resource and irq handling.David S. Miller1-123/+1
All the drivers use OF device objects now for this information. Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29sparc: Kill SBUS layer IRQ hooks.David S. Miller1-4/+0
IRQs are obtained by drivers from the of_device struct. Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29sparc: Convert uctrl driver to OF driver.David S. Miller2-97/+121
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29sparc: Convert flash driver to OF device probing.David S. Miller1-80/+50
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29fore200e: Convert over to pure OF driver.David S. Miller2-232/+189
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29qlogicpti: Convert to pure OF driver.David S. Miller2-54/+56
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29sun_esp: Convert to pure OF driver.David S. Miller1-72/+64
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29parport_sunbpp: Convert to pure OF driver.David S. Miller1-27/+20
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29sunqe: Convert to pure OF driver.David S. Miller2-80/+71
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29sunlance: Convert to pure OF driver.David S. Miller1-47/+40
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29sunhme: Convert to pure OF driver.David S. Miller2-154/+97
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29sunbmac: Convert to pure OF driver.David S. Miller2-88/+70
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29myri_sbus: Convert to pure OF driver.David S. Miller2-89/+69
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29sparc: Move SBUS DMA attribute interfaces out of asm/sbus.hDavid S. Miller6-14/+18
This is in preparation for the subsequent asm/sbus.h removal. Also, make these routines take a "struct device" or no arguments, as appropriate. Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29sparc: Convert all SBUS drivers to dma_*() interfaces.David S. Miller8-190/+181
And all the SBUS dma interfaces are deleted. A private implementation remains inside of the 32-bit sparc port which exists only for the sake of the implementation of dma_*(). Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29sparc: Make SBUS DMA interfaces take struct device.David S. Miller9-75/+112
This is the first step in converting all the SBUS drivers over to generic dma_*(). Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29sparc: Propagate SBUS iommu archdata into real of_device objects.David S. Miller1-4/+20
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29sparc: Kill SBUS DVMA layer.David S. Miller6-217/+99
This thing was completely pointless. Just find the OF device in the parent of drivers that want to program this device, and map the DMA regs inside such drivers too. This also moves the dummy claim_dma_lock() and release_dma_lock() implementation to floppy_32.h, which makes it handle this issue just like floppy_64.h does. Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29sparc: Kill videopix SBUS driver.David S. Miller6-1297/+0
This has been marked BROKEN for a long time and it's more likely to get rewritten from scratch than to be fixed up and made usable. Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-29sparc: Delete bare sbus char bpp driver, obsoleted by parport_sunbppDavid S. Miller4-1065/+0
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-25hwmon: Add Ultra45 workstation hwmon driver.David S. Miller3-0/+328
This is a PIC16F747 based controller that monitors and consolidates the hardware access to various fan and temperature values reported by adr7462 and similar devices behind an I2C bus. Signed-off-by: David S. Miller <davem@davemloft.net>
2008-08-24Fix oops in acer_wmi driver (acer_wmi_init)Arjan van de Ven1-0/+5
The acer_wmi driver does a DMI scan for quirks, and then sets flags into the "interface" datastructure for some cases. However, the quirks happen real early before "interface" is per se initialized from NULL. The patch below 1) adds a NULL pointer check and 2) (re)runs the quirks at the end, when "interface" has it's final value. Reported-by: kerneloops.org Acked-by: Carlos Corbacho <carlos@strangeworlds.co.uk> CC: stable@vger.kernel.org Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-08-23removed unused #include <linux/version.h>'sAdrian Bunk49-53/+0
This patch lets the files using linux/version.h match the files that #include it. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-08-22Merge branch 'upstream-linus' of ↵Linus Torvalds12-126/+96
git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev: [libata] pata_it821x: fix warning libata: Fix a large collection of DMA mode mismatches ahci: sis controllers actually can do PMP pata_via: clean up recent tf_load changes libata: restore SControl on detach libata: use ata_link_printk() when printing SError libata: always do follow-up SRST if hardreset returned -EAGAIN libata: fix EH action overwriting in ata_eh_reset() sata_mv: add the Gen IIE flag to the SoC devices. ata_piix: IDE Mode SATA patch for Intel Ibex Peak DeviceIDs ahci: RAID mode SATA patch for Intel Ibex Peak DeviceIDs sata_mv: don't issue two DMA commands concurrently libata: implement no[hs]rst force params
2008-08-22Merge branch 'for-linus' of ↵Linus Torvalds4-14/+25
git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband: IPoIB: Fix deadlock on RTNL in ipoib_stop() IB/ipath: Fix incorrect check for max physical address in TID IB/ipath: Fix lost UD send work request
2008-08-22[libata] pata_it821x: fix warningJeff Garzik1-1/+1
Reported by Andrew Morton: drivers/ata/pata_it821x.c: In function 'it821x_port_start': drivers/ata/pata_it821x.c:609: warning: 'mtype' may be used uninitialized in this function Pretty horrid fix, but so's a warning.. Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2008-08-22libata: Fix a large collection of DMA mode mismatchesAlan Cox6-11/+11
Dave Müller sent a diff for the pata_oldpiix that highlighted a problem where a lot of the ATA drivers assume dma_mode == 0 means "no DMA" while the core code uses 0xFF. This turns out to have other consequences such as code doing >= XFER_UDMA_0 also catching 0xFF as UDMAlots. Fortunately it doesn't generally affect set_dma_mode, although some drivers call back into their own set mode code from other points. Having been through the drivers I've added helpers for using_udma/using_mwdma dma_enabled so that people don't open code ranges that may change (eg if UDMA8 appears somewhere) Thanks to David for the initial bits [and added fix for pata_oldpiix from and signed-off-by Dave Mueller <dave.mueller@gmx.ch> -jg] Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>