diff options
author | Eric Anholt <anholt@freebsd.org> | 2003-10-17 03:14:39 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2003-10-17 03:14:39 +0000 |
commit | ff58476011ba8fe72d65e884380d3d86710bfdd4 (patch) | |
tree | c2855a267ab001340e588ae6b32a55982312cfa0 /linux/i810.h | |
parent | 355b204de0dbc01308bebc77c4c1c0a9a402cded (diff) |
- 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)
Diffstat (limited to 'linux/i810.h')
-rw-r--r-- | linux/i810.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/linux/i810.h b/linux/i810.h index a5d300a2..d4098e4d 100644 --- a/linux/i810.h +++ b/linux/i810.h @@ -77,7 +77,14 @@ [DRM_IOCTL_NR(DRM_IOCTL_I810_MC)] = { i810_dma_mc, 1, 1 }, \ [DRM_IOCTL_NR(DRM_IOCTL_I810_RSTATUS)] = { i810_rstatus, 1, 0 }, \ [DRM_IOCTL_NR(DRM_IOCTL_I810_FLIP)] = { i810_flip_bufs, 1, 0 } - + +#define DRIVER_PCI_IDS \ + {0x8086, 0x7121, 0, "Intel i810 GMCH"}, \ + {0x8086, 0x7123, 0, "Intel i810-DC100 GMCH"}, \ + {0x8086, 0x7125, 0, "Intel i810E GMCH"}, \ + {0x8086, 0x1132, 0, "Intel i815 GMCH"}, \ + {0, 0, 0, NULL} + #define __HAVE_COUNTERS 4 #define __HAVE_COUNTER6 _DRM_STAT_IRQ |