diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-02-26 21:14:39 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-02-26 21:14:39 +0000 |
| commit | 6d473442ca9a7adbfef517cd6b2360f6090377b9 (patch) | |
| tree | e850327c28445ffdd21723907ff73418e5c7d265 /sys/dev/fb | |
| parent | 73f936c5ac0560a3c88ab089fb3a25f967738234 (diff) | |
Notes
Diffstat (limited to 'sys/dev/fb')
| -rw-r--r-- | sys/dev/fb/fb.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/fb/fb.c b/sys/dev/fb/fb.c index 6f8bab775f0a..839e9a4943ce 100644 --- a/sys/dev/fb/fb.c +++ b/sys/dev/fb/fb.c @@ -352,6 +352,7 @@ fbattach(device_t dev) #define FB_UNIT(dev) minor(dev) #define FB_MKMINOR(unit) (u) +#if experimental static d_open_t fbopen; static d_close_t fbclose; static d_read_t fbread; @@ -376,6 +377,7 @@ static struct cdevsw fb_cdevsw = { /* psize */ nopsize, /* flags */ 0, }; +#endif static int @@ -384,7 +386,6 @@ fb_modevent(module_t mod, int type, void *data) switch (type) { case MOD_LOAD: - cdevsw_add(&fb_cdevsw); break; case MOD_UNLOAD: printf("fb module unload - not possible for this module type\n"); @@ -438,6 +439,7 @@ fb_detach(dev_t dev, video_adapter_t *adp, struct cdevsw *cdevsw) return 0; } +#if experimental static int fbopen(dev_t dev, int flag, int mode, struct thread *td) { @@ -512,7 +514,6 @@ fbmmap(dev_t dev, vm_offset_t offset, vm_offset_t *paddr, int nprot) offset, paddr, nprot); } -#if experimental DEV_DRIVER_MODULE(fb, ???, fb_driver, fb_devclass, fb_cdevsw, 0, 0); #endif |
