PERFORCE change 42015 for review
Sam Leffler
sam at FreeBSD.org
Tue Nov 11 11:19:47 PST 2003
http://perforce.freebsd.org/chv.cgi?CH=42015
Change 42015 by sam at sam_ebb on 2003/11/11 11:19:11
replace fixed major number by auto selection
Affected files ...
.. //depot/projects/netperf/sys/dev/kttcp/kttcp.c#2 edit
Differences ...
==== //depot/projects/netperf/sys/dev/kttcp/kttcp.c#2 (text+ko) ====
@@ -104,8 +104,6 @@
static int kttcp_soreceive(struct socket *, unsigned long long,
unsigned long long *, struct thread *, int *);
-#define CDEV_MAJOR 200 /* netbsd uses 43 which vn */
-
static d_open_t kttcpopen;
static d_ioctl_t kttcpioctl;
@@ -113,7 +111,7 @@
.d_open = kttcpopen,
.d_ioctl = kttcpioctl,
.d_name = "kttcp",
- .d_maj = CDEV_MAJOR,
+ .d_maj = MAJOR_AUTO,
};
static int
More information about the p4-projects
mailing list