kernel-fxtec-pro1x/drivers/ide/legacy
Bartlomiej Zolnierkiewicz 9e016a7192 ide: add ide_deprecated_find_port() helper
* Factor out code for finding ide_hwifs[] slot from ide_register_hw()
  to ide_deprecated_find_port().

* Convert bast-ide, ide-cs and delkin_cb host drivers to use ide_device_add()
  instead of ide_register_hw() (while at it drop doing "ide_unregister()" loop
  which tries to unregister _all_ IDE interfaces if useable ide_hwifs[] slot
  cannot be find).

This patch leaves us with only two ide_register_hw() users:
- drivers/macintosh/mediabay.c
- drivers/ide/ide.c

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-02-02 19:56:39 +01:00
..
ali14xx.c ide: add struct ide_port_info instances to legacy host drivers 2008-02-02 19:56:31 +01:00
buddha.c ide: add struct ide_port_info instances to legacy host drivers 2008-02-02 19:56:31 +01:00
dtc2278.c ide: add struct ide_port_info instances to legacy host drivers 2008-02-02 19:56:31 +01:00
falconide.c ide: add struct ide_port_info instances to legacy host drivers 2008-02-02 19:56:31 +01:00
gayle.c ide: add struct ide_port_info instances to legacy host drivers 2008-02-02 19:56:31 +01:00
hd.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
ht6560b.c ide: add struct ide_port_info instances to legacy host drivers 2008-02-02 19:56:31 +01:00
ide-cs.c ide: add ide_deprecated_find_port() helper 2008-02-02 19:56:39 +01:00
ide_platform.c ide: add 'init_default' and 'restore' arguments to ide_unregister() 2008-02-02 19:56:39 +01:00
macide.c ide: add struct ide_port_info instances to legacy host drivers 2008-02-02 19:56:31 +01:00
Makefile ide: make remaining built-in only IDE host drivers modular (take 2) 2008-01-26 20:13:07 +01:00
q40ide.c ide: add struct ide_port_info instances to legacy host drivers 2008-02-02 19:56:31 +01:00
qd65xx.c ide: add struct ide_port_info instances to legacy host drivers 2008-02-02 19:56:31 +01:00
qd65xx.h ide: delete filenames/versions from comments 2008-02-01 23:09:33 +01:00
umc8672.c ide: add struct ide_port_info instances to legacy host drivers 2008-02-02 19:56:31 +01:00