summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2005-05-15 00:23:33 +0000
committerkrw <krw@openbsd.org>2005-05-15 00:23:33 +0000
commit4b501c106c6dca05f22aaeba1b6effda57f75fb8 (patch)
tree9f725c7774e4178408ae37c88110cbe4c4370045 /sys/dev/usb
parentTry to ensure that UFI/ATAPI USB umass devices always get the zero (diff)
downloadwireguard-openbsd-4b501c106c6dca05f22aaeba1b6effda57f75fb8.tar.xz
wireguard-openbsd-4b501c106c6dca05f22aaeba1b6effda57f75fb8.zip
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.
Diffstat (limited to 'sys/dev/usb')
-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>