From a3fb836cb5d5a57a93732f91e2b0d8cb898c108a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Schmidt?= Date: Wed, 8 Dec 1999 09:19:37 +0000 Subject: [PATCH] Finally use the new ata driver. --- sys/amd64/conf/GENERIC | 33 +++++++++------------------------ sys/i386/conf/GENERIC | 33 +++++++++------------------------ sys/i386/conf/PCCARD | 23 ++++++++++------------- 3 files changed, 28 insertions(+), 61 deletions(-) diff --git a/sys/amd64/conf/GENERIC b/sys/amd64/conf/GENERIC index 4c4dcb106edc..8ffe39449c9c 100644 --- a/sys/amd64/conf/GENERIC +++ b/sys/amd64/conf/GENERIC @@ -67,30 +67,15 @@ controller fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device fd1 at fdc0 drive 1 -# IDE controller and disks -controller wdc0 at isa? port IO_WD1 irq 14 -device wd0 at wdc0 drive 0 -device wd1 at wdc0 drive 1 - -controller wdc1 at isa? port IO_WD2 irq 15 -device wd2 at wdc1 drive 0 -device wd3 at wdc1 drive 1 - -# ATAPI devices on wdc? -device wcd0 #IDE CD-ROM -device wfd0 #IDE Floppy (e.g. LS-120) -device wst0 #IDE Tape (e.g. Travan) - -# The 'ATA' driver supports all ATA and ATAPI devices. -# It can reuse the majors of wd.c for booting purposes. -# You only need one "controller ata0" for it to find all -# PCI ATA/ATAPI devices on modern machines. -#controller ata0 -#device atadisk0 # ATA disk drives -#device atapicd0 # ATAPI CDROM drives -#device atapifd0 # ATAPI floppy drives -#device atapist0 # ATAPI tape drives -#options ATA_STATIC_ID #Static dev number like old `wd' driver +# ATA and ATAPI devices +controller ata0 at isa? port IO_WD1 irq 14 +controller ata1 at isa? port IO_WD2 irq 15 +controller ata2 +device atadisk0 # ATA disk drives +device atapicd0 # ATAPI CDROM drives +device atapifd0 # ATAPI floppy drives +device atapist0 # ATAPI tape drives +options ATA_STATIC_ID #Static device numbering #options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices # SCSI Controllers diff --git a/sys/i386/conf/GENERIC b/sys/i386/conf/GENERIC index 4c4dcb106edc..8ffe39449c9c 100644 --- a/sys/i386/conf/GENERIC +++ b/sys/i386/conf/GENERIC @@ -67,30 +67,15 @@ controller fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device fd1 at fdc0 drive 1 -# IDE controller and disks -controller wdc0 at isa? port IO_WD1 irq 14 -device wd0 at wdc0 drive 0 -device wd1 at wdc0 drive 1 - -controller wdc1 at isa? port IO_WD2 irq 15 -device wd2 at wdc1 drive 0 -device wd3 at wdc1 drive 1 - -# ATAPI devices on wdc? -device wcd0 #IDE CD-ROM -device wfd0 #IDE Floppy (e.g. LS-120) -device wst0 #IDE Tape (e.g. Travan) - -# The 'ATA' driver supports all ATA and ATAPI devices. -# It can reuse the majors of wd.c for booting purposes. -# You only need one "controller ata0" for it to find all -# PCI ATA/ATAPI devices on modern machines. -#controller ata0 -#device atadisk0 # ATA disk drives -#device atapicd0 # ATAPI CDROM drives -#device atapifd0 # ATAPI floppy drives -#device atapist0 # ATAPI tape drives -#options ATA_STATIC_ID #Static dev number like old `wd' driver +# ATA and ATAPI devices +controller ata0 at isa? port IO_WD1 irq 14 +controller ata1 at isa? port IO_WD2 irq 15 +controller ata2 +device atadisk0 # ATA disk drives +device atapicd0 # ATAPI CDROM drives +device atapifd0 # ATAPI floppy drives +device atapist0 # ATAPI tape drives +options ATA_STATIC_ID #Static device numbering #options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices # SCSI Controllers diff --git a/sys/i386/conf/PCCARD b/sys/i386/conf/PCCARD index 311becea6b33..148ce239762f 100644 --- a/sys/i386/conf/PCCARD +++ b/sys/i386/conf/PCCARD @@ -68,19 +68,16 @@ controller fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 device fd1 at fdc0 drive 1 -# IDE controller and disks -controller wdc0 at isa? port IO_WD1 irq 14 -device wd0 at wdc0 drive 0 -device wd1 at wdc0 drive 1 - -controller wdc1 at isa? port IO_WD2 irq 15 -device wd2 at wdc1 drive 0 -device wd3 at wdc1 drive 1 - -# ATAPI devices on wdc? -device wcd0 #IDE CD-ROM -device wfd0 #IDE Floppy (e.g. LS-120) -device wst0 #IDE Tape (e.g. Travan) +# ATA and ATAPI devices +controller ata0 at isa? port IO_WD1 irq 14 +controller ata1 at isa? port IO_WD2 irq 15 +controller ata2 +device atadisk0 # ATA disk drives +device atapicd0 # ATAPI CDROM drives +device atapifd0 # ATAPI floppy drives +device atapist0 # ATAPI tape drives +options ATA_STATIC_ID #Static device numbering +#options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices # SCSI Controllers # A single entry for any of these controllers (ncr, ahb, ahc) is