summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2000-08-13 18:49:40 +0000
committern_hibma <n_hibma@FreeBSD.org>2000-08-13 18:49:40 +0000
commitcbb74c17bdde9e04efd4115114940217143abe93 (patch)
treef008fa927436b05de6cb7f877e62d71234d3d789 /sys/dev/usb
parenta6c3c8dbfbbbdbe8e9dc451f059eec365e4825a1 (diff)
downloadFreeBSD-src-cbb74c17bdde9e04efd4115114940217143abe93.zip
FreeBSD-src-cbb74c17bdde9e04efd4115114940217143abe93.tar.gz
CAM, the module: scbus, da, cd, and st wrapped in one module.
Make the umass driver depend on this module. Makes it possible to compile the kernel without SCSI support and load it when for example a USB floppy is conencted.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/umass.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c
index d798de7..2f81aa1 100644
--- a/sys/dev/usb/umass.c
+++ b/sys/dev/usb/umass.c
@@ -536,6 +536,9 @@ Static void umass_dump_buffer (struct umass_softc *sc, u_int8_t *buffer,
int buflen, int printlen);
#endif
+#if defined(__FreeBSD__)
+MODULE_DEPEND(umass, cam, 1,1,1);
+#endif
/*
* USB device probe/attach/detach
OpenPOWER on IntegriCloud