summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2005-05-15 00:23:34 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2005-05-15 00:23:34 +0000
commit36fe87de5e8f718d9832621d24b610cf8869736a (patch)
treee418851451f5d9473533579bcc863277eab80f45
parent66ced9bada92fa1376dfd55073b763f781d4764f (diff)
Oops. atapiscsi.h is needed because that's where NATAPISCSI is
defined. Fixes Y-E DATA USB Floppy Drive that otherwise complains about 'atapiscsi not configured'. Should fix PR #4204 from Ben Hooper.
-rw-r--r--sys/dev/usb/umass.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c
index 736aa574850..53ec46d7d77 100644
--- a/sys/dev/usb/umass.c
+++ b/sys/dev/usb/umass.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umass.c,v 1.40 2005/05/14 23:36:26 krw Exp $ */
+/* $OpenBSD: umass.c,v 1.41 2005/05/15 00:23:33 krw Exp $ */
/* $NetBSD: umass.c,v 1.116 2004/06/30 05:53:46 mycroft Exp $ */
/*
@@ -131,6 +131,8 @@
* umass_cam_cb again to complete the CAM command.
*/
+#include "atapiscsi.h"
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>