summaryrefslogtreecommitdiffstats
path: root/sys/scsi
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-10 20:34:53 +0000
committerbde <bde@FreeBSD.org>1995-12-10 20:34:53 +0000
commit1fa32892379e9878a6ad76beb240e1dc8ddcbe50 (patch)
treea341d4ea5968f5835d133ba112002cb9de8e93e1 /sys/scsi
parentb3651e490f08eda8504315a538bd1c5ae756cd3e (diff)
downloadFreeBSD-src-1fa32892379e9878a6ad76beb240e1dc8ddcbe50.zip
FreeBSD-src-1fa32892379e9878a6ad76beb240e1dc8ddcbe50.tar.gz
Replaced nxmmap by nommap (if the mmap function gets called, then the
device must be configured).
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/ssc.c4
-rw-r--r--sys/scsi/su.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/scsi/ssc.c b/sys/scsi/ssc.c
index 7c1a62e..cb90d91 100644
--- a/sys/scsi/ssc.c
+++ b/sys/scsi/ssc.c
@@ -49,7 +49,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*End copyright
- * $Id: ssc.c,v 1.8 1995/12/08 11:18:55 julian Exp $
+ * $Id: ssc.c,v 1.9 1995/12/08 23:22:26 phk Exp $
*/
#include <sys/types.h>
@@ -78,7 +78,7 @@ extern d_ioctl_t suioctl;
static struct cdevsw ssc_cdevsw =
{ sscopen, sscclose, noread, nowrite, /*49*/
sscioctl, nostop, nullreset, nodevtotty,
- noselect, nxmmap, nostrategy, "ssc", NULL, -1 };
+ noselect, nommap, nostrategy, "ssc", NULL, -1 };
static dev_t sscdev = NODEV;
diff --git a/sys/scsi/su.c b/sys/scsi/su.c
index ebf51a2..bada847 100644
--- a/sys/scsi/su.c
+++ b/sys/scsi/su.c
@@ -44,7 +44,7 @@
* SUCH DAMAGE.
*End copyright
*
- * $Id: su.c,v 1.10 1995/12/08 23:22:29 phk Exp $
+ * $Id: su.c,v 1.11 1995/12/10 14:57:04 bde Exp $
*
* Tabstops 4
* XXX devfs entries for this device should be handled by generic scsiconfig
@@ -78,7 +78,7 @@ static d_strategy_t sustrategy;
static struct cdevsw su_cdevsw =
{ suopen, suclose, suread, suwrite, /*18*/
suioctl, nostop, nullreset, nodevtotty,/* scsi */
- suselect, nxmmap, sustrategy, "su", NULL, -1 };
+ suselect, nommap, sustrategy, "su", NULL, -1 };
/* Build an old style device number (unit encoded in the minor number)
OpenPOWER on IntegriCloud