]> git.hungrycats.org Git - linux/commit
[PATCH] update dtc2278 driver
authorBartlomiej Zolnierkiewicz <b.zolnierkiewicz@elka.pw.edu.pl>
Mon, 29 Sep 2003 09:15:23 +0000 (02:15 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 29 Sep 2003 09:15:23 +0000 (02:15 -0700)
commitacb0c332aad552faee4da571b9948177a610d0e0
treea30fd112575e577a4ca28a7f9dd52bb3441d51e1
parent209297f1f093c5de51597f86e2f931657f0922c9
[PATCH] update dtc2278 driver

- common dtc2278_init() for built-in and module
- touch hwifs only if hwif->chipset == ide_unknown for both ports,
  so we don't thrash already used hwifs when loading module
- release hwif only if hwif->chipset == ide_dtc2278
- mark exit functions with __exit
- do not use ide_hwifs[] directly
- minor cleanups
drivers/ide/ide.c
drivers/ide/legacy/dtc2278.c