strategy returns void, ioctl cmd arg is u_long
authorChris G. Demetriou <cgd@ucbvax.Berkeley.EDU>
Tue, 10 Jan 1995 10:27:38 +0000 (02:27 -0800)
committerChris G. Demetriou <cgd@ucbvax.Berkeley.EDU>
Tue, 10 Jan 1995 10:27:38 +0000 (02:27 -0800)
SCCS-vsn: sys/hp300/hp300/conf.c 8.5

usr/src/sys/hp300/hp300/conf.c

index cc65bdb..831c9fe 100644 (file)
@@ -4,7 +4,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *      @(#)conf.c     8.4 (Berkeley) %G%
+ *      @(#)conf.c     8.5 (Berkeley) %G%
  */
 
 #include <sys/param.h>
  */
 
 #include <sys/param.h>
 
 int    rawread         __P((dev_t, struct uio *, int));
 int    rawwrite        __P((dev_t, struct uio *, int));
 
 int    rawread         __P((dev_t, struct uio *, int));
 int    rawwrite        __P((dev_t, struct uio *, int));
-int    swstrategy      __P((struct buf *));
+void   swstrategy      __P((struct buf *));
 int    ttselect        __P((dev_t, int, struct proc *));
 
 #define        dev_type_open(n)        int n __P((dev_t, int, int, struct proc *))
 #define        dev_type_close(n)       int n __P((dev_t, int, int, struct proc *))
 int    ttselect        __P((dev_t, int, struct proc *));
 
 #define        dev_type_open(n)        int n __P((dev_t, int, int, struct proc *))
 #define        dev_type_close(n)       int n __P((dev_t, int, int, struct proc *))
-#define        dev_type_strategy(n)    int n __P((struct buf *))
+#define        dev_type_strategy(n)    void n __P((struct buf *))
 #define        dev_type_ioctl(n) \
 #define        dev_type_ioctl(n) \
-       int n __P((dev_t, int, caddr_t, int, struct proc *))
+       int n __P((dev_t, u_long, caddr_t, int, struct proc *))
 
 /* bdevsw-specific types */
 #define        dev_type_dump(n)        int n __P(())
 
 /* bdevsw-specific types */
 #define        dev_type_dump(n)        int n __P(())