Adds among the last of the AGP cards. (OK?)
Aside: I'm sure there's a good reason for the dearth of AGP cards in
the Radeon DRM driver (radeon_drv.c), but so far my HD4670AGP is
working just fine (dmesg attached)... both before and after the
radeonhd-to-radeon transition.
--
Andrew Ngo
Index: pcidevs
===================================================================
RCS file: /cvs/src/sys/dev/pci/pcidevs,v
retrieving revision 1.1636
diff -u -p -r1.1636 pcidevs
--- pcidevs 11 Mar 2012 13:27:58 -0000 1.1636
+++ pcidevs 22 Mar 2012 16:42:09 -0000
@@ -1376,6 +1376,7 @@ product ATI RADEON_HD4850 0x9442 Radeon
product ATI RADEON_HD4870_M98 0x945a Mobility Radeon HD 4870
product ATI RADEON_HD4890 0x9460 Radeon HD 4890
product ATI RADEON_HD4670 0x9490 Radeon HD 4670
+product ATI RADEON_HD4670_AGP 0x9495 Radeon HD 4670 AGP
product ATI RADEON_HD4650 0x9498 Radeon HD 4650
product ATI RADEON_HD2400_XT 0x94c1 Radeon HD 2400 XT
product ATI RADEON_HD2400_PRO 0x94c3 Radeon HD 2400 Pro
Index: pcidevs.h
===================================================================
RCS file: /cvs/src/sys/dev/pci/pcidevs.h,v
retrieving revision 1.1633
diff -u -p -r1.1633 pcidevs.h
--- pcidevs.h 11 Mar 2012 13:28:55 -0000 1.1633
+++ pcidevs.h 22 Mar 2012 16:42:15 -0000
@@ -1381,6 +1381,7 @@
#define PCI_PRODUCT_ATI_RADEON_HD4870_M98 0x945a /*
Mobility Radeon HD 4870 */
#define PCI_PRODUCT_ATI_RADEON_HD4890 0x9460 /* Radeon HD
4890 */
#define PCI_PRODUCT_ATI_RADEON_HD4670 0x9490 /* Radeon HD
4670 */
+#define PCI_PRODUCT_ATI_RADEON_HD4670_AGP 0x9495 /* Radeon HD
4670 AGP */
#define PCI_PRODUCT_ATI_RADEON_HD4650 0x9498 /* Radeon HD
4650 */
#define PCI_PRODUCT_ATI_RADEON_HD2400_XT 0x94c1 /*
Radeon HD 2400 XT */
#define PCI_PRODUCT_ATI_RADEON_HD2400_PRO 0x94c3 /*
Radeon HD 2400 Pro */
Index: pcidevs_data.h
===================================================================
RCS file: /cvs/src/sys/dev/pci/pcidevs_data.h,v
retrieving revision 1.1628
diff -u -p -r1.1628 pcidevs_data.h
--- pcidevs_data.h 11 Mar 2012 13:28:55 -0000 1.1628
+++ pcidevs_data.h 22 Mar 2012 16:42:19 -0000
@@ -3836,6 +3836,10 @@ static const struct pci_known_product pc
"Radeon HD 4670",
},
{
+ PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD4670_AGP,
+ "Radeon HD 4670 AGP",
+ },
+ {
PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD4650,
"Radeon HD 4650",
},
Index: drm/radeon_drv.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/drm/radeon_drv.c,v
retrieving revision 1.57
diff -u -p -r1.57 radeon_drv.c
--- drm/radeon_drv.c 29 Jan 2012 22:36:18 -0000 1.57
+++ drm/radeon_drv.c 22 Mar 2012 16:42:20 -0000
@@ -535,6 +535,8 @@ const static struct drm_pcidev radeondrm
CHIP_RS880|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP},
{PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD5450,
CHIP_RS880|RADEON_NEW_MEMMAP},
+ {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD4670_AGP,
+ CHIP_RV730|RADEON_NEW_MEMMAP|RADEON_IS_AGP},
{0, 0, 0}
};
[dmesg]
OpenBSD 5.1-current (GENERIC.MP) #21: Thu Mar 22 10:17:48 EDT 2012
[email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Pentium(R) 4 CPU 2.60GHz ("GenuineIntel" 686-class) 2.60 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR
real mem = 2146168832 (2046MB)
avail mem = 2100269056 (2002MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/04/05, BIOS32 rev. 0 @
0xf0010, SMBIOS rev. 2.3 @ 0xf04b0 (60 entries)
bios0: vendor American Megatrends Inc. version "1024.001" date 08/04/2005
bios0: ASUSTeK Computer Inc. P4C800-E
acpi0 at bios0: rev 2
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP APIC OEMB
acpi0: wakeup devices ILAN(S4) P0P4(S4) MC97(S4) USB1(S4) USB2(S4)
USB3(S4) USB4(S4) EUSB(S4) PS2K(S4) PS2M(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 199MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Pentium(R) 4 CPU 2.60GHz ("GenuineIntel" 686-class) 2.60 GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,CNXT-ID,xTPR
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (P0P2)
acpiprt2 at acpi0: bus 3 (P0P4)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpibtn0 at acpi0: PWRB
bios0: ROM list: 0xc0000/0xf800
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82875P Host" rev 0x02
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xf0000000, size 0x8000000
ppb0 at pci0 dev 1 function 0 "Intel 82875P AGP" rev 0x02
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon HD 4670 AGP" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 2 int 16
drm0 at radeondrm0
azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 4000 HD Audio" rev
0x00: apic 2 int 17
azalia0: no supported codecs
ppb1 at pci0 dev 3 function 0 "Intel 82875P CSA" rev 0x02
pci2 at ppb1 bus 2
em0 at pci2 dev 1 function 0 "Intel PRO/1000CT (82547EI)" rev 0x00:
apic 2 int 18, address 00:0c:6e:67:1d:85
uhci0 at pci0 dev 29 function 0 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 16
uhci1 at pci0 dev 29 function 1 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 19
uhci2 at pci0 dev 29 function 2 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 18
uhci3 at pci0 dev 29 function 3 "Intel 82801EB/ER USB" rev 0x02: apic 2 int 16
ehci0 at pci0 dev 29 function 7 "Intel 82801EB/ER USB2" rev 0x02: apic 2 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xc2
pci3 at ppb2 bus 3
ath0 at pci3 dev 11 function 0 "Atheros AR5212" rev 0x01: apic 2 int 23
ath0: AR2414 7.9 phy 4.5 rf2413 5.6, FCC1A, address 00:11:95:fa:dd:f1
emu0 at pci3 dev 12 function 0 "Creative Labs SoundBlaster Audigy" rev
0x04: apic 2 int 20
ac97: codec id 0x83847609 (SigmaTel STAC9721/23)
ac97: codec features 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at emu0
"Creative Labs SoundBlaster Audigy Digital" rev 0x04 at pci3 dev 12
function 1 not configured
"Creative Labs Firewire" rev 0x04 at pci3 dev 12 function 2 not configured
ichpcib0 at pci0 dev 31 function 0 "Intel 82801EB/ER LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801EB/ER IDE" rev 0x02:
DMA, channel 0 configured to compatibility, channel 1 configured to
compatibility
pciide0: channel 0 disabled (no drives)
atapiscsi0 at pciide0 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD-RAM GH22NP20, 1.04> ATAPI
5/cdrom removable
cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
pciide1 at pci0 dev 31 function 2 "Intel 82801EB SATA" rev 0x02: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 2 int 18 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <ST3500320AS>
wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
ichiic0 at pci0 dev 31 function 3 "Intel 82801EB/ER SMBus" rev 0x02:
apic 2 int 17
iic0 at ichiic0
lm1 at iic0 addr 0x2f: W83791SD
spdmem0 at iic0 addr 0x50: 1GB DDR SDRAM non-parity PC3200CL3.0
spdmem1 at iic0 addr 0x52: 1GB DDR SDRAM non-parity PC3200CL3.0
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x2e/2: W83627THF rev 0x82
lm2 at wbsio0 port 0x290/8: W83627THF
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
mtrr: Pentium Pro MTRR support
uhidev0 at uhub2 port 2 configuration 1 interface 0 "Dell Dell Premium
USB Optical Mouse" rev 2.00/0.07 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 5 buttons, Z dir
wsmouse0 at ums0 mux 0
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets