- Converted Linux drivers to initialize DRM instances based on PCI IDs, not
authorEric Anholt <anholt@freebsd.org>
Fri, 17 Oct 2003 03:14:39 +0000 (03:14 +0000)
committerEric Anholt <anholt@freebsd.org>
Fri, 17 Oct 2003 03:14:39 +0000 (03:14 +0000)
commitff58476011ba8fe72d65e884380d3d86710bfdd4
treec2855a267ab001340e588ae6b32a55982312cfa0
parent355b204de0dbc01308bebc77c4c1c0a9a402cded
- Converted Linux drivers to initialize DRM instances based on PCI IDs, not
    just a single instance. Moved the PCI ID lists from <card>_drv.c in BSD
    to <card>.h. The PCI ID lists include a driver private field, which may
    be used by drivers for chip family or other information. Based on work
    by jonsmirl.
- Make tdfx_drv.c and tdfx.h match other drivers.
- Fixed up linking of sis shared files.
Tested with Radeon and SiS on Linux and FreeBSD, including a Linux setup
    with
2 SiS cards in a machine, but only one head being used (with DRI)
35 files changed:
bsd-core/drmP.h
bsd-core/drm_drv.c
bsd-core/drm_os_freebsd.h
bsd-core/drm_os_netbsd.h
bsd-core/mga_drv.c
bsd-core/r128_drv.c
bsd-core/radeon_drv.c
bsd-core/sis_drv.c
bsd-core/tdfx_drv.c
bsd/Imakefile
bsd/drmP.h
bsd/drm_drv.h
bsd/drm_os_freebsd.h
bsd/drm_os_netbsd.h
bsd/mga_drv.c
bsd/r128_drv.c
bsd/radeon_drv.c
bsd/sis_drv.c
bsd/tdfx_drv.c
linux-core/drmP.h
linux-core/drm_drv.c
linux-core/tdfx_drv.c
linux/Makefile.linux
linux/drmP.h
linux/drm_drv.h
linux/gamma.h
linux/i810.h
linux/i830.h
linux/tdfx_drv.c
shared-core/tdfx_drv.h [moved from linux/tdfx.h with 75% similarity]
shared/mga.h
shared/r128.h
shared/radeon.h
shared/sis.h
shared/tdfx.h [moved from bsd/tdfx.h with 75% similarity]