Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/dev/scsipi/scsiconf.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/dev/scsipi/scsiconf.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.238 retrieving revision 1.238.2.2 diff -u -p -r1.238 -r1.238.2.2 --- src/sys/dev/scsipi/scsiconf.c 2006/09/03 05:18:03 1.238 +++ src/sys/dev/scsipi/scsiconf.c 2007/01/12 00:57:48 1.238.2.2 @@ -1,4 +1,4 @@ -/* $NetBSD: scsiconf.c,v 1.238 2006/09/03 05:18:03 christos Exp $ */ +/* $NetBSD: scsiconf.c,v 1.238.2.2 2007/01/12 00:57:48 ad Exp $ */ /*- * Copyright (c) 1998, 1999, 2004 The NetBSD Foundation, Inc. @@ -55,7 +55,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: scsiconf.c,v 1.238 2006/09/03 05:18:03 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: scsiconf.c,v 1.238.2.2 2007/01/12 00:57:48 ad Exp $"); #include #include @@ -381,7 +381,8 @@ scsi_probe_bus(struct scsibus_softc *sc, } static int -scsibusrescan(struct device *sc, const char *ifattr, const int *locators) +scsibusrescan(struct device *sc, const char *ifattr, + const int *locators) { KASSERT(ifattr && !strcmp(ifattr, "scsibus")); @@ -571,6 +572,8 @@ static const struct scsi_quirk_inquiry_p /* Broken IBM disk */ {{T_DIRECT, T_FIXED, "" , "DFRSS2F", ""}, PQUIRK_AUTOSAVE}, + {{T_DIRECT, T_FIXED, + "Initio ", "", ""}, PQUIRK_NOBIGMODESENSE}, {{T_DIRECT, T_REMOV, "MPL ", "MC-DISK- ", ""}, PQUIRK_NOLUNS}, {{T_DIRECT, T_FIXED, @@ -967,7 +970,8 @@ bad: /****** Entry points for user control of the SCSI bus. ******/ static int -scsibusopen(dev_t dev, int flag, int fmt, struct lwp *l) +scsibusopen(dev_t dev, int flag, int fmt, + struct lwp *l) { struct scsibus_softc *sc; int error, unit = minor(dev); @@ -988,7 +992,8 @@ scsibusopen(dev_t dev, int flag, int fmt } static int -scsibusclose(dev_t dev, int flag, int fmt, struct lwp *l) +scsibusclose(dev_t dev, int flag, int fmt, + struct lwp *l) { struct scsibus_softc *sc = scsibus_cd.cd_devs[minor(dev)];