summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-09-26 10:41:44 +0000
committerphk <phk@FreeBSD.org>2003-09-26 10:41:44 +0000
commit30f60296f2c4a04dd8a71dee1209c14403ee5503 (patch)
tree8795ecabad50a2e053eed8460ee25684d138a2af /sys/isa
parent6e7e1fbcfa621fca4d4d70560a1b2850c1f2c800 (diff)
downloadFreeBSD-src-30f60296f2c4a04dd8a71dee1209c14403ee5503.zip
FreeBSD-src-30f60296f2c4a04dd8a71dee1209c14403ee5503.tar.gz
Change fb_attach() and fb_detach() to take a integer unit number rather
than a dev_t. All of the dev_t's passed were bogusly created with makedev()
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/vga_isa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/isa/vga_isa.c b/sys/isa/vga_isa.c
index 455d600..c820be2 100644
--- a/sys/isa/vga_isa.c
+++ b/sys/isa/vga_isa.c
@@ -141,7 +141,7 @@ isavga_attach(device_t dev)
#ifdef FB_INSTALL_CDEV
/* attach a virtual frame buffer device */
- error = fb_attach(makedev(0, VGA_MKMINOR(unit)), sc->adp, &isavga_cdevsw);
+ error = fb_attach(VGA_MKMINOR(unit), sc->adp, &isavga_cdevsw);
if (error)
return error;
#endif /* FB_INSTALL_CDEV */
OpenPOWER on IntegriCloud