Change the kernel dev_t, representing a pointer to a specinfo structure,
[dragonfly.git] / sys / dev / video / fb / vgareg.h
index 780ff45..17d3895 100644 (file)
@@ -24,7 +24,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  * $FreeBSD: src/sys/dev/fb/vgareg.h,v 1.4 1999/12/29 04:35:37 peter Exp $
- * $DragonFly: src/sys/dev/video/fb/vgareg.h,v 1.7 2006/07/28 02:17:39 dillon Exp $
+ * $DragonFly: src/sys/dev/video/fb/vgareg.h,v 1.8 2006/09/10 01:26:37 dillon Exp $
  */
 
 #ifndef _DEV_FB_VGAREG_H_
@@ -73,7 +73,7 @@ typedef struct vga_softc {
        void                    *state_buf;
 #ifdef FB_INSTALL_CDEV
        genfb_softc_t           gensc;
-       dev_t                   devt;
+       cdev_t                  devt;
 #endif
 } vga_softc_t;
 
@@ -81,14 +81,14 @@ int         vga_probe_unit(int unit, struct video_adapter *adp, int flags);
 int            vga_attach_unit(int unit, vga_softc_t *sc, int flags);
 
 #ifdef FB_INSTALL_CDEV
-int            vga_open(dev_t dev, vga_softc_t *sc, int flag, int mode,
+int            vga_open(cdev_t dev, vga_softc_t *sc, int flag, int mode,
                         struct ucred *cred);
-int            vga_close(dev_t dev, vga_softc_t *sc, int flag, int mode);
-int            vga_read(dev_t dev, vga_softc_t *sc, struct uio *uio, int flag);
-int            vga_write(dev_t dev, vga_softc_t *sc, struct uio *uio, int flag);
-int            vga_ioctl(dev_t dev, vga_softc_t *sc, u_long cmd, caddr_t arg,
+int            vga_close(cdev_t dev, vga_softc_t *sc, int flag, int mode);
+int            vga_read(cdev_t dev, vga_softc_t *sc, struct uio *uio, int flag);
+int            vga_write(cdev_t dev, vga_softc_t *sc, struct uio *uio, int flag);
+int            vga_ioctl(cdev_t dev, vga_softc_t *sc, u_long cmd, caddr_t arg,
                          int flag, struct ucred *cred);
-int            vga_mmap(dev_t dev, vga_softc_t *sc, vm_offset_t offset,
+int            vga_mmap(cdev_t dev, vga_softc_t *sc, vm_offset_t offset,
                         int prot);
 #endif