alim15x3.c 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609
  1. /*
  2. * Copyright (C) 1998-2000 Michel Aubry, Maintainer
  3. * Copyright (C) 1998-2000 Andrzej Krzysztofowicz, Maintainer
  4. * Copyright (C) 1999-2000 CJ, cjtsai@ali.com.tw, Maintainer
  5. *
  6. * Copyright (C) 1998-2000 Andre Hedrick (andre@linux-ide.org)
  7. * May be copied or modified under the terms of the GNU General Public License
  8. * Copyright (C) 2002 Alan Cox
  9. * ALi (now ULi M5228) support by Clear Zhang <Clear.Zhang@ali.com.tw>
  10. * Copyright (C) 2007 MontaVista Software, Inc. <source@mvista.com>
  11. * Copyright (C) 2007-2010 Bartlomiej Zolnierkiewicz
  12. *
  13. * (U)DMA capable version of ali 1533/1543(C), 1535(D)
  14. *
  15. **********************************************************************
  16. * 9/7/99 --Parts from the above author are included and need to be
  17. * converted into standard interface, once I finish the thought.
  18. *
  19. * Recent changes
  20. * Don't use LBA48 mode on ALi <= 0xC4
  21. * Don't poke 0x79 with a non ALi northbridge
  22. * Don't flip undefined bits on newer chipsets (fix Fujitsu laptop hang)
  23. * Allow UDMA6 on revisions > 0xC4
  24. *
  25. * Documentation
  26. * Chipset documentation available under NDA only
  27. *
  28. */
  29. #include <linux/module.h>
  30. #include <linux/types.h>
  31. #include <linux/kernel.h>
  32. #include <linux/pci.h>
  33. #include <linux/ide.h>
  34. #include <linux/init.h>
  35. #include <linux/dmi.h>
  36. #include <asm/io.h>
  37. #define DRV_NAME "alim15x3"
  38. /*
  39. * ALi devices are not plug in. Otherwise these static values would
  40. * need to go. They ought to go away anyway
  41. */
  42. static u8 m5229_revision;
  43. static u8 chip_is_1543c_e;
  44. static struct pci_dev *isa_dev;
  45. static void ali_fifo_control(ide_hwif_t *hwif, ide_drive_t *drive, int on)
  46. {
  47. struct pci_dev *pdev = to_pci_dev(hwif->dev);
  48. int pio_fifo = 0x54 + hwif->channel;
  49. u8 fifo;
  50. int shift = 4 * (drive->dn & 1);
  51. pci_read_config_byte(pdev, pio_fifo, &fifo);
  52. fifo &= ~(0x0F << shift);
  53. fifo |= (on << shift);
  54. pci_write_config_byte(pdev, pio_fifo, fifo);
  55. }
  56. static void ali_program_timings(ide_hwif_t *hwif, ide_drive_t *drive,
  57. struct ide_timing *t)
  58. {
  59. struct pci_dev *dev = to_pci_dev(hwif->dev);
  60. int port = hwif->channel ? 0x5c : 0x58;
  61. u8 unit = drive->dn & 1;
  62. t->setup = clamp_val(t->setup, 1, 8) & 7;
  63. t->act8b = clamp_val(t->act8b, 1, 8) & 7;
  64. t->rec8b = clamp_val(t->rec8b, 1, 16) & 15;
  65. t->active = clamp_val(t->active, 1, 8) & 7;
  66. t->recover = clamp_val(t->recover, 1, 16) & 15;
  67. pci_write_config_byte(dev, port, t->setup);
  68. pci_write_config_byte(dev, port + 1, (t->act8b << 4) | t->rec8b);
  69. pci_write_config_byte(dev, port + unit + 2,
  70. (t->active << 4) | t->recover);
  71. }
  72. /**
  73. * ali_set_pio_mode - set host controller for PIO mode
  74. * @hwif: port
  75. * @drive: drive
  76. *
  77. * Program the controller for the given PIO mode.
  78. */
  79. static void ali_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive)
  80. {
  81. ide_drive_t *pair = ide_get_pair_dev(drive);
  82. int bus_speed = ide_pci_clk ? ide_pci_clk : 33;
  83. unsigned long T = 1000000 / bus_speed; /* PCI clock based */
  84. struct ide_timing t;
  85. ide_timing_compute(drive, drive->pio_mode, &t, T, 1);
  86. if (pair) {
  87. struct ide_timing p;
  88. ide_timing_compute(pair, pair->pio_mode, &p, T, 1);
  89. ide_timing_merge(&p, &t, &t,
  90. IDE_TIMING_SETUP | IDE_TIMING_8BIT);
  91. if (pair->dma_mode) {
  92. ide_timing_compute(pair, pair->dma_mode, &p, T, 1);
  93. ide_timing_merge(&p, &t, &t,
  94. IDE_TIMING_SETUP | IDE_TIMING_8BIT);
  95. }
  96. }
  97. /*
  98. * PIO mode => ATA FIFO on, ATAPI FIFO off
  99. */
  100. ali_fifo_control(hwif, drive, (drive->media == ide_disk) ? 0x05 : 0x00);
  101. ali_program_timings(hwif, drive, &t);
  102. }
  103. /**
  104. * ali_udma_filter - compute UDMA mask
  105. * @drive: IDE device
  106. *
  107. * Return available UDMA modes.
  108. *
  109. * The actual rules for the ALi are:
  110. * No UDMA on revisions <= 0x20
  111. * Disk only for revisions < 0xC2
  112. * Not WDC drives on M1543C-E (?)
  113. */
  114. static u8 ali_udma_filter(ide_drive_t *drive)
  115. {
  116. if (m5229_revision > 0x20 && m5229_revision < 0xC2) {
  117. if (drive->media != ide_disk)
  118. return 0;
  119. if (chip_is_1543c_e &&
  120. strstr((char *)&drive->id[ATA_ID_PROD], "WDC "))
  121. return 0;
  122. }
  123. return drive->hwif->ultra_mask;
  124. }
  125. /**
  126. * ali_set_dma_mode - set host controller for DMA mode
  127. * @hwif: port
  128. * @drive: drive
  129. *
  130. * Configure the hardware for the desired IDE transfer mode.
  131. */
  132. static void ali_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive)
  133. {
  134. struct pci_dev *dev = to_pci_dev(hwif->dev);
  135. ide_drive_t *pair = ide_get_pair_dev(drive);
  136. int bus_speed = ide_pci_clk ? ide_pci_clk : 33;
  137. unsigned long T = 1000000 / bus_speed; /* PCI clock based */
  138. const u8 speed = drive->dma_mode;
  139. u8 speed1 = speed;
  140. u8 unit = drive->dn & 1;
  141. u8 tmpbyte = 0x00;
  142. int m5229_udma = (hwif->channel) ? 0x57 : 0x56;
  143. struct ide_timing t;
  144. if (speed == XFER_UDMA_6)
  145. speed1 = 0x47;
  146. if (speed < XFER_UDMA_0) {
  147. u8 ultra_enable = (unit) ? 0x7f : 0xf7;
  148. /*
  149. * clear "ultra enable" bit
  150. */
  151. pci_read_config_byte(dev, m5229_udma, &tmpbyte);
  152. tmpbyte &= ultra_enable;
  153. pci_write_config_byte(dev, m5229_udma, tmpbyte);
  154. ide_timing_compute(drive, drive->dma_mode, &t, T, 1);
  155. if (pair) {
  156. struct ide_timing p;
  157. ide_timing_compute(pair, pair->pio_mode, &p, T, 1);
  158. ide_timing_merge(&p, &t, &t,
  159. IDE_TIMING_SETUP | IDE_TIMING_8BIT);
  160. if (pair->dma_mode) {
  161. ide_timing_compute(pair, pair->dma_mode,
  162. &p, T, 1);
  163. ide_timing_merge(&p, &t, &t,
  164. IDE_TIMING_SETUP | IDE_TIMING_8BIT);
  165. }
  166. }
  167. ali_program_timings(hwif, drive, &t);
  168. } else {
  169. pci_read_config_byte(dev, m5229_udma, &tmpbyte);
  170. tmpbyte &= (0x0f << ((1-unit) << 2));
  171. /*
  172. * enable ultra dma and set timing
  173. */
  174. tmpbyte |= ((0x08 | ((4-speed1)&0x07)) << (unit << 2));
  175. pci_write_config_byte(dev, m5229_udma, tmpbyte);
  176. if (speed >= XFER_UDMA_3) {
  177. pci_read_config_byte(dev, 0x4b, &tmpbyte);
  178. tmpbyte |= 1;
  179. pci_write_config_byte(dev, 0x4b, tmpbyte);
  180. }
  181. }
  182. }
  183. /**
  184. * ali_dma_check - DMA check
  185. * @drive: target device
  186. * @cmd: command
  187. *
  188. * Returns 1 if the DMA cannot be performed, zero on success.
  189. */
  190. static int ali_dma_check(ide_drive_t *drive, struct ide_cmd *cmd)
  191. {
  192. if (m5229_revision < 0xC2 && drive->media != ide_disk) {
  193. if (cmd->tf_flags & IDE_TFLAG_WRITE)
  194. return 1; /* try PIO instead of DMA */
  195. }
  196. return 0;
  197. }
  198. /**
  199. * init_chipset_ali15x3 - Initialise an ALi IDE controller
  200. * @dev: PCI device
  201. *
  202. * This function initializes the ALI IDE controller and where
  203. * appropriate also sets up the 1533 southbridge.
  204. */
  205. static int init_chipset_ali15x3(struct pci_dev *dev)
  206. {
  207. unsigned long flags;
  208. u8 tmpbyte;
  209. struct pci_dev *north = pci_get_slot(dev->bus, PCI_DEVFN(0,0));
  210. m5229_revision = dev->revision;
  211. isa_dev = pci_get_device(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1533, NULL);
  212. local_irq_save(flags);
  213. if (m5229_revision < 0xC2) {
  214. /*
  215. * revision 0x20 (1543-E, 1543-F)
  216. * revision 0xC0, 0xC1 (1543C-C, 1543C-D, 1543C-E)
  217. * clear CD-ROM DMA write bit, m5229, 0x4b, bit 7
  218. */
  219. pci_read_config_byte(dev, 0x4b, &tmpbyte);
  220. /*
  221. * clear bit 7
  222. */
  223. pci_write_config_byte(dev, 0x4b, tmpbyte & 0x7F);
  224. /*
  225. * check m1533, 0x5e, bit 1~4 == 1001 => & 00011110 = 00010010
  226. */
  227. if (m5229_revision >= 0x20 && isa_dev) {
  228. pci_read_config_byte(isa_dev, 0x5e, &tmpbyte);
  229. chip_is_1543c_e = ((tmpbyte & 0x1e) == 0x12) ? 1: 0;
  230. }
  231. goto out;
  232. }
  233. /*
  234. * 1543C-B?, 1535, 1535D, 1553
  235. * Note 1: not all "motherboard" support this detection
  236. * Note 2: if no udma 66 device, the detection may "error".
  237. * but in this case, we will not set the device to
  238. * ultra 66, the detection result is not important
  239. */
  240. /*
  241. * enable "Cable Detection", m5229, 0x4b, bit3
  242. */
  243. pci_read_config_byte(dev, 0x4b, &tmpbyte);
  244. pci_write_config_byte(dev, 0x4b, tmpbyte | 0x08);
  245. /*
  246. * We should only tune the 1533 enable if we are using an ALi
  247. * North bridge. We might have no north found on some zany
  248. * box without a device at 0:0.0. The ALi bridge will be at
  249. * 0:0.0 so if we didn't find one we know what is cooking.
  250. */
  251. if (north && north->vendor != PCI_VENDOR_ID_AL)
  252. goto out;
  253. if (m5229_revision < 0xC5 && isa_dev)
  254. {
  255. /*
  256. * set south-bridge's enable bit, m1533, 0x79
  257. */
  258. pci_read_config_byte(isa_dev, 0x79, &tmpbyte);
  259. if (m5229_revision == 0xC2) {
  260. /*
  261. * 1543C-B0 (m1533, 0x79, bit 2)
  262. */
  263. pci_write_config_byte(isa_dev, 0x79, tmpbyte | 0x04);
  264. } else if (m5229_revision >= 0xC3) {
  265. /*
  266. * 1553/1535 (m1533, 0x79, bit 1)
  267. */
  268. pci_write_config_byte(isa_dev, 0x79, tmpbyte | 0x02);
  269. }
  270. }
  271. out:
  272. /*
  273. * CD_ROM DMA on (m5229, 0x53, bit0)
  274. * Enable this bit even if we want to use PIO.
  275. * PIO FIFO off (m5229, 0x53, bit1)
  276. * The hardware will use 0x54h and 0x55h to control PIO FIFO.
  277. * (Not on later devices it seems)
  278. *
  279. * 0x53 changes meaning on later revs - we must no touch
  280. * bit 1 on them. Need to check if 0x20 is the right break.
  281. */
  282. if (m5229_revision >= 0x20) {
  283. pci_read_config_byte(dev, 0x53, &tmpbyte);
  284. if (m5229_revision <= 0x20)
  285. tmpbyte = (tmpbyte & (~0x02)) | 0x01;
  286. else if (m5229_revision == 0xc7 || m5229_revision == 0xc8)
  287. tmpbyte |= 0x03;
  288. else
  289. tmpbyte |= 0x01;
  290. pci_write_config_byte(dev, 0x53, tmpbyte);
  291. }
  292. pci_dev_put(north);
  293. pci_dev_put(isa_dev);
  294. local_irq_restore(flags);
  295. return 0;
  296. }
  297. /*
  298. * Cable special cases
  299. */
  300. static const struct dmi_system_id cable_dmi_table[] = {
  301. {
  302. .ident = "HP Pavilion N5430",
  303. .matches = {
  304. DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
  305. DMI_MATCH(DMI_BOARD_VERSION, "OmniBook N32N-736"),
  306. },
  307. },
  308. {
  309. .ident = "Toshiba Satellite S1800-814",
  310. .matches = {
  311. DMI_MATCH(DMI_SYS_VENDOR, "TOSHIBA"),
  312. DMI_MATCH(DMI_PRODUCT_NAME, "S1800-814"),
  313. },
  314. },
  315. { }
  316. };
  317. static int ali_cable_override(struct pci_dev *pdev)
  318. {
  319. /* Fujitsu P2000 */
  320. if (pdev->subsystem_vendor == 0x10CF &&
  321. pdev->subsystem_device == 0x10AF)
  322. return 1;
  323. /* Mitac 8317 (Winbook-A) and relatives */
  324. if (pdev->subsystem_vendor == 0x1071 &&
  325. pdev->subsystem_device == 0x8317)
  326. return 1;
  327. /* Systems by DMI */
  328. if (dmi_check_system(cable_dmi_table))
  329. return 1;
  330. return 0;
  331. }
  332. /**
  333. * ali_cable_detect - cable detection
  334. * @hwif: IDE interface
  335. *
  336. * This checks if the controller and the cable are capable
  337. * of UDMA66 transfers. It doesn't check the drives.
  338. */
  339. static u8 ali_cable_detect(ide_hwif_t *hwif)
  340. {
  341. struct pci_dev *dev = to_pci_dev(hwif->dev);
  342. u8 cbl = ATA_CBL_PATA40, tmpbyte;
  343. if (m5229_revision >= 0xC2) {
  344. /*
  345. * m5229 80-pin cable detection (from Host View)
  346. *
  347. * 0x4a bit0 is 0 => primary channel has 80-pin
  348. * 0x4a bit1 is 0 => secondary channel has 80-pin
  349. *
  350. * Certain laptops use short but suitable cables
  351. * and don't implement the detect logic.
  352. */
  353. if (ali_cable_override(dev))
  354. cbl = ATA_CBL_PATA40_SHORT;
  355. else {
  356. pci_read_config_byte(dev, 0x4a, &tmpbyte);
  357. if ((tmpbyte & (1 << hwif->channel)) == 0)
  358. cbl = ATA_CBL_PATA80;
  359. }
  360. }
  361. return cbl;
  362. }
  363. #ifndef CONFIG_SPARC64
  364. /**
  365. * init_hwif_ali15x3 - Initialize the ALI IDE x86 stuff
  366. * @hwif: interface to configure
  367. *
  368. * Obtain the IRQ tables for an ALi based IDE solution on the PC
  369. * class platforms. This part of the code isn't applicable to the
  370. * Sparc systems.
  371. */
  372. static void __devinit init_hwif_ali15x3 (ide_hwif_t *hwif)
  373. {
  374. u8 ideic, inmir;
  375. s8 irq_routing_table[] = { -1, 9, 3, 10, 4, 5, 7, 6,
  376. 1, 11, 0, 12, 0, 14, 0, 15 };
  377. int irq = -1;
  378. if (isa_dev) {
  379. /*
  380. * read IDE interface control
  381. */
  382. pci_read_config_byte(isa_dev, 0x58, &ideic);
  383. /* bit0, bit1 */
  384. ideic = ideic & 0x03;
  385. /* get IRQ for IDE Controller */
  386. if ((hwif->channel && ideic == 0x03) ||
  387. (!hwif->channel && !ideic)) {
  388. /*
  389. * get SIRQ1 routing table
  390. */
  391. pci_read_config_byte(isa_dev, 0x44, &inmir);
  392. inmir = inmir & 0x0f;
  393. irq = irq_routing_table[inmir];
  394. } else if (hwif->channel && !(ideic & 0x01)) {
  395. /*
  396. * get SIRQ2 routing table
  397. */
  398. pci_read_config_byte(isa_dev, 0x75, &inmir);
  399. inmir = inmir & 0x0f;
  400. irq = irq_routing_table[inmir];
  401. }
  402. if(irq >= 0)
  403. hwif->irq = irq;
  404. }
  405. }
  406. #else
  407. #define init_hwif_ali15x3 NULL
  408. #endif /* CONFIG_SPARC64 */
  409. /**
  410. * init_dma_ali15x3 - set up DMA on ALi15x3
  411. * @hwif: IDE interface
  412. * @d: IDE port info
  413. *
  414. * Set up the DMA functionality on the ALi 15x3.
  415. */
  416. static int __devinit init_dma_ali15x3(ide_hwif_t *hwif,
  417. const struct ide_port_info *d)
  418. {
  419. struct pci_dev *dev = to_pci_dev(hwif->dev);
  420. unsigned long base = ide_pci_dma_base(hwif, d);
  421. if (base == 0)
  422. return -1;
  423. hwif->dma_base = base;
  424. if (ide_pci_check_simplex(hwif, d) < 0)
  425. return -1;
  426. if (ide_pci_set_master(dev, d->name) < 0)
  427. return -1;
  428. if (!hwif->channel)
  429. outb(inb(base + 2) & 0x60, base + 2);
  430. printk(KERN_INFO " %s: BM-DMA at 0x%04lx-0x%04lx\n",
  431. hwif->name, base, base + 7);
  432. if (ide_allocate_dma_engine(hwif))
  433. return -1;
  434. return 0;
  435. }
  436. static const struct ide_port_ops ali_port_ops = {
  437. .set_pio_mode = ali_set_pio_mode,
  438. .set_dma_mode = ali_set_dma_mode,
  439. .udma_filter = ali_udma_filter,
  440. .cable_detect = ali_cable_detect,
  441. };
  442. static const struct ide_dma_ops ali_dma_ops = {
  443. .dma_host_set = ide_dma_host_set,
  444. .dma_setup = ide_dma_setup,
  445. .dma_start = ide_dma_start,
  446. .dma_end = ide_dma_end,
  447. .dma_test_irq = ide_dma_test_irq,
  448. .dma_lost_irq = ide_dma_lost_irq,
  449. .dma_check = ali_dma_check,
  450. .dma_timer_expiry = ide_dma_sff_timer_expiry,
  451. .dma_sff_read_status = ide_dma_sff_read_status,
  452. };
  453. static const struct ide_port_info ali15x3_chipset __devinitdata = {
  454. .name = DRV_NAME,
  455. .init_chipset = init_chipset_ali15x3,
  456. .init_hwif = init_hwif_ali15x3,
  457. .init_dma = init_dma_ali15x3,
  458. .port_ops = &ali_port_ops,
  459. .dma_ops = &sff_dma_ops,
  460. .pio_mask = ATA_PIO5,
  461. .swdma_mask = ATA_SWDMA2,
  462. .mwdma_mask = ATA_MWDMA2,
  463. };
  464. /**
  465. * alim15x3_init_one - set up an ALi15x3 IDE controller
  466. * @dev: PCI device to set up
  467. *
  468. * Perform the actual set up for an ALi15x3 that has been found by the
  469. * hot plug layer.
  470. */
  471. static int __devinit alim15x3_init_one(struct pci_dev *dev, const struct pci_device_id *id)
  472. {
  473. struct ide_port_info d = ali15x3_chipset;
  474. u8 rev = dev->revision, idx = id->driver_data;
  475. /* don't use LBA48 DMA on ALi devices before rev 0xC5 */
  476. if (rev <= 0xC4)
  477. d.host_flags |= IDE_HFLAG_NO_LBA48_DMA;
  478. if (rev >= 0x20) {
  479. if (rev == 0x20)
  480. d.host_flags |= IDE_HFLAG_NO_ATAPI_DMA;
  481. if (rev < 0xC2)
  482. d.udma_mask = ATA_UDMA2;
  483. else if (rev == 0xC2 || rev == 0xC3)
  484. d.udma_mask = ATA_UDMA4;
  485. else if (rev == 0xC4)
  486. d.udma_mask = ATA_UDMA5;
  487. else
  488. d.udma_mask = ATA_UDMA6;
  489. d.dma_ops = &ali_dma_ops;
  490. } else {
  491. d.host_flags |= IDE_HFLAG_NO_DMA;
  492. d.mwdma_mask = d.swdma_mask = 0;
  493. }
  494. if (idx == 0)
  495. d.host_flags |= IDE_HFLAG_CLEAR_SIMPLEX;
  496. return ide_pci_init_one(dev, &d, NULL);
  497. }
  498. static const struct pci_device_id alim15x3_pci_tbl[] = {
  499. { PCI_VDEVICE(AL, PCI_DEVICE_ID_AL_M5229), 0 },
  500. { PCI_VDEVICE(AL, PCI_DEVICE_ID_AL_M5228), 1 },
  501. { 0, },
  502. };
  503. MODULE_DEVICE_TABLE(pci, alim15x3_pci_tbl);
  504. static struct pci_driver alim15x3_pci_driver = {
  505. .name = "ALI15x3_IDE",
  506. .id_table = alim15x3_pci_tbl,
  507. .probe = alim15x3_init_one,
  508. .remove = ide_pci_remove,
  509. .suspend = ide_pci_suspend,
  510. .resume = ide_pci_resume,
  511. };
  512. static int __init ali15x3_ide_init(void)
  513. {
  514. return ide_pci_register_driver(&alim15x3_pci_driver);
  515. }
  516. static void __exit ali15x3_ide_exit(void)
  517. {
  518. pci_unregister_driver(&alim15x3_pci_driver);
  519. }
  520. module_init(ali15x3_ide_init);
  521. module_exit(ali15x3_ide_exit);
  522. MODULE_AUTHOR("Michael Aubry, Andrzej Krzysztofowicz, CJ, Andre Hedrick, Alan Cox, Bartlomiej Zolnierkiewicz");
  523. MODULE_DESCRIPTION("PCI driver module for ALi 15x3 IDE");
  524. MODULE_LICENSE("GPL");