summaryrefslogtreecommitdiff
path: root/include/asm-ppc64/ide.h
AgeCommit message (Collapse)Author
2005-11-08powerpc: merge ide.hStephen Rothwell
This is very simple with it being almost all ppc32 with just a couple of common defines. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
2004-11-10[PATCH] ppc64: Bump MAX_HWIFS in IDE codeAnton Blanchard
When fully configured, some POWER5 boxes can have much more than 4 IDE interfaces. Increase the limit to reflect this. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2004-06-02[PATCH] ide: add IDE_ARCH_OBSOLETE_DEFAULTSBartlomiej Zolnierkiewicz
per jgarzik's suggestion Define it in <asm/ide.h> if ide_default_io_base(), ide_default_irq() and ide_init_default_irq() are needed. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2004-05-18[PATCH] ARM/ARM26 IDE cleanupsBartlomiej Zolnierkiewicz
- clear hwif->hw in setup-pci.c before using it - fix arch/arm/Kconfig to allow IDE only on platforms supporting it - introduce IDE_ARCH_OBSOLETE_INIT and ide_default_io_ctl() so we can use generic ide_init_hwif_ports() and kill no longer needed <asm-arm/arch-*/ide.h> (leave broken lh7a40x and sa1100 versions) Cross-compile tested on ARM.
2004-04-19[PATCH] generic ide_init_hwif_ports()Bartlomiej Zolnierkiewicz
Add generic ide_init_hwif_ports() to <linux/ide.h> and remove arch specific versions except arm26, arm, h8300, i386-pc9800, m68k and m68knommu ones.
2004-04-19[PATCH] ide_init_default_hwifs() -> ide_init_default_irq()Bartlomiej Zolnierkiewicz
init_ide_data() initializes default IDE interfaces but without default IRQ (hwif->irq and hwif->hw.irq fields) so introduce ide_init_default_irq() and remove redundant ide_init_default_hwifs() (except arm26 and arm ones). As a side-effect it fixes: - CONFIG_BLK_DEV_HD_IDE if !CONFIG_BLK_DEV_IDEPCI (i386) - hwif->noprobe shouldn't be 0 if !hwif->io_ports[IDE_DATA_OFFSET] (alpha, i386, ia64, mips, sh, x86_64)
2004-04-13[PATCH] asm/ide.h: ide_ioreg_t cleanupBartlomiej Zolnierkiewicz
ide_ioreg_t is deprecated and hasn't been used by IDE driver for some time. Use unsigned long directly on alpha, arm26, arm, mips, parisc, ppc64 and sh. asm-ia64/ide.h (ide_ioreg_t is unsigned short) and asm-m68knommu/ide.h (broken - ide_ioreg_t is not defined) are the only users of ide_ioreg_t left.
2002-07-18[PATCH] IDE 100Martin Dalecki
Trivia time: - C99 conforming initializations by Rusty. - ide__sti() -> local_irq_enable() and its friends.
2002-05-17[PATCH] 2.5.15 IDE 61Martin Dalecki
- Fix typo in pdc202xx driver. - Fix locking order in ioctl. - Fix wrong time_after usage introduced in 60. Maybe the fact I always get is wrong is related to the fact that I'm using the mouse with the left hand!? - Apply arch-clean-2 by Bartlomiej Zolnierkiewicz. - Don't disable interrupts during ide_wait_stat(). I see no reason too. - Push flags down from hwgroup to the ata_chaannel structure. - Apply small fixes from Franz Sirl to make AEC6280 working properly again.
2002-05-05[PATCH] 2.5.14 IDE 55Martin Dalecki
- Update HPT374 driver carried over from 2.4.xx series by Andrew Morton. Resync it with the recent host chip driver changes, or better the introduction of an API at all. - Consolidate the handling of device ID byte order in one place. This was spotted and patched by Bartomiej onierkiewicz. - Eliminate CONFIG_BLK_DEV_IDEPCI - it's duplicating the functionality of the already present and fine CONFIG_PCI flag and if we are a PCI host, we are indeed very likely to need host chip support anyway. - Remove some redundant info about the model and channel number from /proc/ide. Remove the binary entries not helpful to the user, and not used by any program and redundant to corresponding ioctls. - Properly return udma_read and udma_write values in taskfile. - Only initialize XXX_udma to the default handlers if it has not been initialized by the host chip initialization. I have enabled spin lock debugging and can see that on device flush the spin locks get wrong counts... no problems elsewher ethus far. I will re check them next time around.
2002-04-27[PATCH] 2.5.10 IDE 43Martin Dalecki
Some of the following is a bit of sensitive... but anyway it has to be done. - Scarp "portability" macros ide_request_irq() and ide_free_irq(). What a great of a surprise in the face of a kernel nowadays ported to nearly any major CPU out there, but apparently no platform needs something special here. All of them are just using the normal request_irq() and free_irq(). If some unusual platform (read obsolete door blocker) I have overlooked intentionally needs something special - please just hack the platform specific request_irq() and free_irq()- they are *far off* from being performance relevant. (Hint: You could use cooked default irq values to detect there whatever the caller was the ATA driver to decide what to do about it.) - Kill ide_check_region() ide_request_region() and ide_release_region() altogether. Add comments explaining the code there. Same arguments as above apply. Additionally we want to be able at some time to do for example mmapped PCI address space access on IA32 instead of port IO. - Rewrite the initialization code to don't use check_region at all. Add some comments there, which explain what's actually happening. - Fix creeping in of a c99 construct. - Make the main interrupt handler take a channel as data instead of the hwgroup. This is the entity an interrupt is physically associated with. PCI interrupt sharing is handled in a generically anyway. Analogously the main data entity of a device request queue (q->queuedata) is the device and not the hwgroup. However right now we are only able to push it down to the channel level. The intention is to advance the choose_drive() function to just check for equal interrupt values for serialization of request and thus to get rid of the hwgroup altogether.
2002-02-15Add ppc64 support. This includes both pSeries (RS/6000) andAnton Blanchard
iSeries (AS/400). There are no changes outside of include/asm-ppc64 and arch/ppc64 in this changeset.