summaryrefslogtreecommitdiffstats
path: root/sys/scsi
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1995-11-29 14:41:20 +0000
committerjulian <julian@FreeBSD.org>1995-11-29 14:41:20 +0000
commit198d88e0ae0e12a2ddafb80a60372116b0b1c0c6 (patch)
tree82e0b24f955f894892cc1c396f300233c0d0607a /sys/scsi
parent1758bf79ff52b23e5828e97e6ed62be161d761bf (diff)
downloadFreeBSD-src-198d88e0ae0e12a2ddafb80a60372116b0b1c0c6.zip
FreeBSD-src-198d88e0ae0e12a2ddafb80a60372116b0b1c0c6.tar.gz
If you're going to mechanically replicate something in 50 files
it's best to not have a (compiles cleanly) typo in it! (sigh)
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/cd.c4
-rw-r--r--sys/scsi/ch.c4
-rw-r--r--sys/scsi/od.c4
-rw-r--r--sys/scsi/pt.c4
-rw-r--r--sys/scsi/sctarg.c4
-rw-r--r--sys/scsi/sd.c4
-rw-r--r--sys/scsi/ssc.c4
-rw-r--r--sys/scsi/st.c4
-rw-r--r--sys/scsi/su.c4
-rw-r--r--sys/scsi/uk.c5
-rw-r--r--sys/scsi/worm.c4
11 files changed, 23 insertions, 22 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c
index 2418658..d3210d9 100644
--- a/sys/scsi/cd.c
+++ b/sys/scsi/cd.c
@@ -14,7 +14,7 @@
*
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
*
- * $Id: cd.c,v 1.45 1995/11/20 12:42:25 phk Exp $
+ * $Id: cd.c,v 1.46 1995/11/29 10:48:55 julian Exp $
*/
#define SPLCD splbio
@@ -1342,8 +1342,8 @@ static void cd_drvinit(void *unused)
/* path name devsw minor type uid gid perm*/
"/", "cd", major(dev_chr), 0, DV_CHR, 0, 0, 0600);
}
- }
#endif
+ }
}
SYSINIT(cddev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,cd_drvinit,NULL)
diff --git a/sys/scsi/ch.c b/sys/scsi/ch.c
index b8edea3..b95a872 100644
--- a/sys/scsi/ch.c
+++ b/sys/scsi/ch.c
@@ -2,7 +2,7 @@
* Written by grefen@convex.com (probably moved by now)
* Based on scsi drivers by Julian Elischer (julian@tfs.com)
*
- * $Id: ch.c,v 1.22 1995/11/20 12:42:27 phk Exp $
+ * $Id: ch.c,v 1.23 1995/11/29 10:48:56 julian Exp $
*/
#include <sys/types.h>
@@ -536,8 +536,8 @@ static void ch_drvinit(void *unused)
/* path name devsw minor type uid gid perm*/
"/", "ch", major(dev), 0, DV_CHR, 0, 0, 0600);
}
- }
#endif
+ }
}
SYSINIT(chdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,ch_drvinit,NULL)
diff --git a/sys/scsi/od.c b/sys/scsi/od.c
index dca9c67..3137a51 100644
--- a/sys/scsi/od.c
+++ b/sys/scsi/od.c
@@ -28,7 +28,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: od.c,v 1.3 1995/11/20 12:42:28 phk Exp $
+ * $Id: od.c,v 1.4 1995/11/29 10:48:57 julian Exp $
*/
/*
@@ -840,8 +840,8 @@ static void od_drvinit(void *unused)
x=devfs_add_devsw(
"/", "od", major(dev), 0, DV_BLK, 0, 0, 0600);
}
- }
#endif
+ }
}
SYSINIT(oddev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,od_drvinit,NULL)
diff --git a/sys/scsi/pt.c b/sys/scsi/pt.c
index 6d34963..75eb13b 100644
--- a/sys/scsi/pt.c
+++ b/sys/scsi/pt.c
@@ -37,7 +37,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: pt.c,v 1.6 1995/11/19 22:22:23 dyson Exp $
+ * $Id: pt.c,v 1.7 1995/11/29 10:48:59 julian Exp $
*/
/*
@@ -283,8 +283,8 @@ static void pt_drvinit(void *unused)
/* path name devsw minor type uid gid perm*/
"/", "pt", major(dev), 0, DV_CHR, 0, 0, 0600);
}
- }
#endif
+ }
}
SYSINIT(ptdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,pt_drvinit,NULL)
diff --git a/sys/scsi/sctarg.c b/sys/scsi/sctarg.c
index 65cc2f2..42592eb 100644
--- a/sys/scsi/sctarg.c
+++ b/sys/scsi/sctarg.c
@@ -37,7 +37,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: sctarg.c,v 1.6 1995/11/21 08:35:49 bde Exp $
+ * $Id: sctarg.c,v 1.7 1995/11/29 10:49:01 julian Exp $
*/
/*
@@ -300,8 +300,8 @@ static void sctarg_drvinit(void *unused)
/* path name devsw minor type uid gid perm*/
"/", "sctarg", major(dev), 0, DV_CHR, 0, 0, 0600);
}
- }
#endif
+ }
}
SYSINIT(sctargdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,sctarg_drvinit,NULL)
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index 586812d..d0a9331 100644
--- a/sys/scsi/sd.c
+++ b/sys/scsi/sd.c
@@ -14,7 +14,7 @@
*
* Ported to run under 386BSD by Julian Elischer (julian@dialix.oz.au) Sept 1992
*
- * $Id: sd.c,v 1.72 1995/11/20 12:42:32 phk Exp $
+ * $Id: sd.c,v 1.73 1995/11/29 10:49:02 julian Exp $
*/
#define SPLSD splbio
@@ -995,8 +995,8 @@ static void sd_drvinit(void *unused)
x=devfs_add_devsw(
"/", "sd", major(dev), 0, DV_BLK, 0, 0, 0600);
}
- }
#endif
+ }
}
SYSINIT(sddev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,sd_drvinit,NULL)
diff --git a/sys/scsi/ssc.c b/sys/scsi/ssc.c
index 43a7adb..87f71f7 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.4 1995/11/04 11:12:41 bde Exp $
+ * $Id: ssc.c,v 1.5 1995/11/29 10:49:03 julian Exp $
*/
#include <sys/types.h>
@@ -156,8 +156,8 @@ static void ssc_drvinit(void *unused)
/* path name devsw minor type uid gid perm*/
"/", "ssc", major(dev_chr), 0, DV_CHR, 0, 0, 0600);
}
- }
#endif
+ }
}
SYSINIT(sscdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,ssc_drvinit,NULL)
diff --git a/sys/scsi/st.c b/sys/scsi/st.c
index 6c7db23..ab4e8c1 100644
--- a/sys/scsi/st.c
+++ b/sys/scsi/st.c
@@ -12,7 +12,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
- * $Id: st.c,v 1.44 1995/11/20 12:42:34 phk Exp $
+ * $Id: st.c,v 1.45 1995/11/29 10:49:05 julian Exp $
*/
/*
@@ -2110,8 +2110,8 @@ static void st_drvinit(void *unused)
/* path name devsw minor type uid gid perm*/
"/", "rst", major(dev_chr), 0, DV_CHR, 0, 0, 0600);
}
- }
#endif
+ }
}
SYSINIT(stdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,st_drvinit,NULL)
diff --git a/sys/scsi/su.c b/sys/scsi/su.c
index 8b9d9c6..a7dac94 100644
--- a/sys/scsi/su.c
+++ b/sys/scsi/su.c
@@ -44,7 +44,7 @@
* SUCH DAMAGE.
*End copyright
*
- * $Id: su.c,v 1.6 1995/11/06 00:36:08 bde Exp $
+ * $Id: su.c,v 1.7 1995/11/29 10:49:06 julian Exp $
*
* Tabstops 4
*/
@@ -311,8 +311,8 @@ static void su_drvinit(void *unused)
/* path name devsw minor type uid gid perm*/
"/", "su", major(dev), 0, DV_CHR, 0, 0, 0600);
}
- }
#endif
+ }
}
SYSINIT(sudev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,su_drvinit,NULL)
diff --git a/sys/scsi/uk.c b/sys/scsi/uk.c
index ab1e6e1..0cf4cf6 100644
--- a/sys/scsi/uk.c
+++ b/sys/scsi/uk.c
@@ -2,13 +2,14 @@
* Driver for a device we can't identify.
* by Julian Elischer (julian@tfs.com)
*
- * $Id: uk.c,v 1.9 1995/05/30 08:13:56 rgrimes Exp $
+ * $Id: uk.c,v 1.10 1995/11/29 10:49:07 julian Exp $
*
* If you find that you are adding any code to this file look closely
* at putting it in "scsi_driver.c" instead.
*/
#include <sys/param.h>
+#include <sys/systm.h>
#include <scsi/scsi_all.h>
#include <scsi/scsiconf.h>
#ifdef JREMOD
@@ -70,8 +71,8 @@ static void uk_drvinit(void *unused)
/* path name devsw minor type uid gid perm*/
"/", "uk", major(dev), 0, DV_CHR, 0, 0, 0600);
}
- }
#endif
+ }
}
SYSINIT(ukdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,uk_drvinit,NULL)
diff --git a/sys/scsi/worm.c b/sys/scsi/worm.c
index c0c0afb..059c7d8 100644
--- a/sys/scsi/worm.c
+++ b/sys/scsi/worm.c
@@ -37,7 +37,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: worm.c,v 1.10 1995/11/19 22:22:35 dyson Exp $
+ * $Id: worm.c,v 1.11 1995/11/29 10:49:07 julian Exp $
*/
/* XXX This is PRELIMINARY.
@@ -394,8 +394,8 @@ static void worm_drvinit(void *unused)
/* path name devsw minor type uid gid perm*/
"/", "rworm", major(dev), 0, DV_CHR, 0, 0, 0600);
}
- }
#endif
+ }
}
SYSINIT(wormdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,worm_drvinit,NULL)
OpenPOWER on IntegriCloud