Define fb newbus interface to connect framebuffer providers with fbd.
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
a2f43a3339
commit
a42dad644c
@ -1400,6 +1400,7 @@ dev/ex/if_ex_pccard.c optional ex pccard
|
||||
dev/exca/exca.c optional cbb
|
||||
dev/fatm/if_fatm.c optional fatm pci
|
||||
dev/fb/fbd.c optional fbd | vt
|
||||
dev/fb/fb_if.m optional fbd | vt
|
||||
dev/fb/splash.c optional splash
|
||||
dev/fdt/fdt_common.c optional fdt
|
||||
dev/fdt/fdt_ic_if.m optional fdt
|
||||
|
13
sys/dev/fb/fb_if.m
Normal file
13
sys/dev/fb/fb_if.m
Normal file
@ -0,0 +1,13 @@
|
||||
#include <sys/bus.h>
|
||||
#include <sys/fbio.h>
|
||||
|
||||
INTERFACE fb;
|
||||
|
||||
METHOD int pin_max {
|
||||
device_t dev;
|
||||
int *npins;
|
||||
};
|
||||
|
||||
METHOD struct fb_info * getinfo {
|
||||
device_t dev;
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user