diff options
| author | Martin Dalecki <dalecki@evision-ventures.com> | 2002-04-27 20:21:49 -0700 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-04-27 20:21:49 -0700 |
| commit | 5ef2759cc3fa1b1ba548a786ba92c1c96709e88a (patch) | |
| tree | c881bc4c40dd8a606d89c59d5dbd8ad22c3e1b52 /include/linux/ide.h | |
| parent | 9dbf001571b2cdd54fef92dfccf2385a184ac8d7 (diff) | |
[PATCH] 2.5.10 IDE 43
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.
Diffstat (limited to 'include/linux/ide.h')
| -rw-r--r-- | include/linux/ide.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index 0e31ae4dd256..7543af3be0ba 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -827,7 +827,7 @@ extern int drive_is_flashcard(ide_drive_t *drive); int ide_spin_wait_hwgroup (ide_drive_t *drive); void ide_timer_expiry (unsigned long data); -void ide_intr (int irq, void *dev_id, struct pt_regs *regs); +extern void ata_irq_request(int irq, void *data, struct pt_regs *regs); void do_ide_request (request_queue_t * q); void ide_init_subdrivers (void); |
