summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2011-04-24 08:58:58 +0000
committermav <mav@FreeBSD.org>2011-04-24 08:58:58 +0000
commit512a6cd715d527dbecfe273cd4d9de5adbff4aca (patch)
tree5eb3abfbf0e6e6408274205060fa7b1e7626359f /sys/i386
parent57afc00cc3c5af4b41a69378c73122d0901df53f (diff)
downloadFreeBSD-src-512a6cd715d527dbecfe273cd4d9de5adbff4aca.zip
FreeBSD-src-512a6cd715d527dbecfe273cd4d9de5adbff4aca.tar.gz
Switch the GENERIC kernels for all architectures to the new CAM-based ATA
stack. It means that all legacy ATA drivers are disabled and replaced by respective CAM drivers. If you are using ATA device names in /etc/fstab or other places, make sure to update them respectively (adX -> adaY, acdX -> cdY, afdX -> daY, astX -> saY, where 'Y's are the sequential numbers for each type in order of detection, unless configured otherwise with tunables, see cam(4)). ataraid(4) functionality is now supported by the RAID GEOM class. To use it you can load geom_raid kernel module and use graid(8) tool for management. Instead of /dev/arX device names, use /dev/raid/rX.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/conf/GENERIC20
-rw-r--r--sys/i386/conf/XBOX12
2 files changed, 15 insertions, 17 deletions
diff --git a/sys/i386/conf/GENERIC b/sys/i386/conf/GENERIC
index 5dad174..75281ae 100644
--- a/sys/i386/conf/GENERIC
+++ b/sys/i386/conf/GENERIC
@@ -91,14 +91,12 @@ device pci
# Floppy drives
device fdc
-# ATA and ATAPI devices
-device ata
-device atadisk # ATA disk drives
-device ataraid # ATA RAID drives
-device atapicd # ATAPI CDROM drives
-device atapifd # ATAPI floppy drives
-device atapist # ATAPI tape drives
-options ATA_STATIC_ID # Static device numbering
+# ATA controllers
+device ahci # AHCI-compatible SATA controllers
+device ata # Legacy ATA/SATA controllers
+options ATA_CAM # Handle legacy controllers with CAM
+device mvs # Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
+device siis # SiliconImage SiI3124/SiI3132/SiI3531 SATA
# SCSI Controllers
device ahb # EISA AHA1742 family
@@ -127,13 +125,13 @@ device ncv # NCR 53C500
device nsp # Workbit Ninja SCSI-3
device stg # TMC 18C30/18C50
-# SCSI peripherals
-device scbus # SCSI bus (required for SCSI)
+# ATA/SCSI peripherals
+device scbus # SCSI bus (required for ATA/SCSI)
device ch # SCSI media changers
device da # Direct Access (disks)
device sa # Sequential Access (tape etc)
device cd # CD
-device pass # Passthrough device (direct SCSI access)
+device pass # Passthrough device (direct ATA/SCSI access)
device ses # SCSI Environmental Services (and SAF-TE)
# RAID controllers interfaced to the SCSI subsystem
diff --git a/sys/i386/conf/XBOX b/sys/i386/conf/XBOX
index 8229260..0b507c5 100644
--- a/sys/i386/conf/XBOX
+++ b/sys/i386/conf/XBOX
@@ -16,7 +16,7 @@ device sc # syscons
device fb
# no support yet for root device name fetching
-options ROOTDEVNAME=\"ufs:ad0s1a\"
+options ROOTDEVNAME=\"ufs:ada0s1a\"
#options ROOTDEVNAME=\"cd9660:acd0\"
options SCHED_4BSD # 4BSD scheduler
@@ -51,13 +51,13 @@ device pci
# ATA and ATAPI devices
device ata
-device atadisk # ATA disk drives
-device atapicd # ATAPI CDROM drives
-options ATA_STATIC_ID # Static device numbering
+options ATA_CAM
-# SCSI peripherals
-device scbus # SCSI bus (required for SCSI)
+# ATA/SCSI peripherals
+device scbus # SCSI bus (required for ATA/SCSI)
+device cd # CD
device da # Direct Access (disks)
+device pass # Passthrough device (direct ATA/SCSI access)
# Pseudo devices.
device loop # Network loopback
OpenPOWER on IntegriCloud