NetBSD/sys/dev/scsipi/files.scsipi
sommerfe 0d3a9dfce7 Don't bring scsi/atapi common files in under the "atapi" attribute.
Bring them in under atapibus since they're not needed unless something
attached to an atapibus is also attached.
Tested on i386 and arm32.
1999-02-07 22:58:43 +00:00

65 lines
1.9 KiB
Plaintext

# $NetBSD: files.scsipi,v 1.20 1999/02/07 22:58:43 sommerfe Exp $
#
# Config file and device description for machine-independent SCSI code.
# Included by ports that need it. Ports that use it must provide
# their own "major" declarations for the appropriate devices.
defopt opt_scsi.h SCSIVERBOSE ST_ENABLE_EARLYWARN
file dev/scsipi/scsipiconf.c scsi | atapibus
file dev/scsipi/scsipi_base.c scsi | atapibus
file dev/scsipi/scsipi_ioctl.c scsi | atapibus
file dev/scsipi/scsipi_verbose.c (scsi | atapibus) & scsiverbose
file dev/scsipi/scsi_base.c scsi
file dev/scsipi/atapi_base.c atapibus
file dev/scsipi/atapi_wdc.c atapibus & wdc_base
device scsibus {target = -1, lun = -1}
attach scsibus at scsi
file dev/scsipi/scsiconf.c scsibus needs-flag
device atapibus {drive = -1}
attach atapibus at atapi
file dev/scsipi/atapiconf.c atapibus needs-flag
device cd: disk
attach cd at scsibus with cd_scsibus
attach cd at atapibus with cd_atapibus
file dev/scsipi/cd_scsi.c cd_scsibus
file dev/scsipi/cd_atapi.c cd_atapibus
file dev/scsipi/cd.c cd | cd_scsibus | cd_atapibus needs-flag
device ch
attach ch at scsibus
file dev/scsipi/ch.c ch needs-flag
device se: ifnet, ether, arp
attach se at scsibus
file dev/scsipi/if_se.c se needs-flag
device sd: disk
attach sd at scsibus with sd_scsibus
attach sd at atapibus with sd_atapibus
file dev/scsipi/sd_scsi.c sd_scsibus
file dev/scsipi/sd_atapi.c sd_atapibus
file dev/scsipi/sd.c sd | sd_scsibus | sd_atapibus needs-flag
device st: tape
attach st at scsibus
file dev/scsipi/st.c st needs-flag
device ss
attach ss at scsibus
file dev/scsipi/ss.c ss needs-flag
file dev/scsipi/ss_mustek.c ss
file dev/scsipi/ss_scanjet.c ss
device su
attach su at scsibus
file dev/scsipi/su.c su needs-flag
device uk
attach uk at scsibus with uk_scsibus
attach uk at atapibus with uk_atapibus
file dev/scsipi/uk.c uk needs-flag