Support for via-agp on amd64_architecture

Rafal Zawadzki bluszcz at jabberpl.org
Sun Feb 19 22:40:12 UTC 2006


Hi. I've noticed that support for via-agp exists only in x86_32 architecture. 
I owned the x86_64 box with VIA PT880 Ultra chipset (similar to PT880). I 
removed dependency for x86_32 for this driver and compiled it, but it did not 
help. I see two reasons for that:

1. this driver doesn't work for x86_64 architecture indeed (I am not sure, I 
am not a kernel hacker :-) )
2. this driver works but doesn't detect this chipset (which is possible 
because it is not listed).

In via-agp.c I found:

        /* PT880 */
        {
                .device_id      = PCI_DEVICE_ID_VIA_PT880,
                .chipset_name   = "PT880",


and I found at lspci -vvvv this:

0000:00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 0308
        Subsystem: Asustek Computer, Inc.: Unknown device 8199
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort+ >SERR- <PERR-
        Latency: 8, Cache Line Size: 0x08 (32 bytes)
        Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
        Capabilities: [80] AGP version 3.5
                Status: RQ=32 Iso- ArqSz=0 Cal=2 SBA+ ITACoh- GART64- HTrans- 
64bit- FW+ AGP3+ Rate=x4,x8
                Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- 
Rate=<none>
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Unfortunately I didn't find any documentation about writing agp drivers... 
IMVHO, I should create a similar block for PT880 Ultra with the correct ID. 
Can someone help me? Where I can find this ID? Will it help? I suppose that 
this informations could be find in lspci output, maybe in:
0000:00:00.0 Host bridge: VIA Technologies, Inc.: Unknown device 0308
        Subsystem: Asustek Computer, Inc.: Unknown device 8199

Any help would be appreciated!

Cheers,

-- 
 __     __   Rafał Zawadzki [jid/mail: bluszcz at jabberpl.org, skype: blvszcz]
|  |--.|  |.--.--.-----.-----.----.-----. [www: http://bluszcz.jabberpl.org]
|  _  ||  ||  |  |__ --|-- __|  __|-- __| [ http://pyrss.jabberstudio.org/ ]
|_____||__||_____|_____|_____|____|_____|                 つた 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20060219/8eadd8ab/attachment.pgp>


More information about the kernel-team mailing list