diff options
author | jkim <jkim@FreeBSD.org> | 2009-11-06 20:32:26 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2009-11-06 20:32:26 +0000 |
commit | 66cdd06426b34deb367c987a3dafeda8d7e2d8aa (patch) | |
tree | cb907687614b79b3c19c1b9e40e2b66044de8914 /sys/dev/fb | |
parent | 36126bad923b7ce5adc07884f5f3a63749b3067f (diff) | |
download | FreeBSD-src-66cdd06426b34deb367c987a3dafeda8d7e2d8aa.zip FreeBSD-src-66cdd06426b34deb367c987a3dafeda8d7e2d8aa.tar.gz |
Remove duplicate suspend/resume code from vga_pci.c and let vga(4) register
itself to an associated PCI device if it exists. It is little bit hackish
but it should fix build without frame buffer driver since r198964.
Fix some style(9) nits in vga_isa.c while we are here.
Diffstat (limited to 'sys/dev/fb')
-rw-r--r-- | sys/dev/fb/vgareg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/fb/vgareg.h b/sys/dev/fb/vgareg.h index fa9d44e..8f23a83 100644 --- a/sys/dev/fb/vgareg.h +++ b/sys/dev/fb/vgareg.h @@ -69,6 +69,7 @@ struct video_adapter; typedef struct vga_softc { struct video_adapter *adp; + device_t pci_dev; void *state_buf; void *pal_buf; #ifdef FB_INSTALL_CDEV |