Lines Matching +full:ata +full:- +full:generic
2 * pata_piccolo.c - Toshiba Piccolo PATA/SATA controller driver.
9 * Elements from ide/pci/generic.c
10 * Copyright (C) 2001-2002 Andre Hedrick <andre@linux-ide.org>
36 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in tosh_set_piomode()
40 conf |= pio[adev->pio_mode - XFER_PIO_0]; in tosh_set_piomode()
46 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in tosh_set_dmamode()
50 if (adev->dma_mode >= XFER_UDMA_0) { in tosh_set_dmamode()
51 int udma = adev->dma_mode - XFER_UDMA_0; in tosh_set_dmamode()
54 conf |= (2 - udma) * 0x111; /* spread into three nibbles */ in tosh_set_dmamode()
59 conf |= mwdma[adev->dma_mode - XFER_MW_DMA_0]; in tosh_set_dmamode()
77 * ata_tosh_init_one - attach generic IDE
83 * specific hacks then let the ATA layer do the heavy lifting.
122 MODULE_DESCRIPTION("Low level driver for Toshiba Piccolo ATA");