2002-01-18 22:12:28

by Daniele Venzano

[permalink] [raw]
Subject: [PATCH] AGP update for i820 and i860 chipsets

This patch fixes the ID for i860 chipset and adds support for the UP
version of i820 AGP bridge. I made it against kernel 2.4.17. It compiles
and works both builin or as a module.

It was submitted long ago by Nicolas Aspert and works well for
me, I'm running XFree with DRI and AGP 4x without problems.

This is my first patch, so there could be problems, however you could
find it also at:
http://digilander.iol.it/webvenza/agp_patch.html

Best regards.
--
-----------------------------------------------------
Daniele Venzano
Senior member of the Linux User Group Genova (LUGGe)
E-Mail: [email protected]
Web: http://digilander.iol.it/webvenza/
LUGGe: http://lugge.ziobudda.net


Attachments:
(No filename) (678.00 B)
patch-agp_i8xx-2.4.17_fix_pci_ids (2.34 kB)
Download all attachments

2002-01-19 00:34:09

by Andy Pfiffer

[permalink] [raw]
Subject: Re: [PATCH] AGP update for i820 and i860 chipsets

On Fri, 2002-01-18 at 14:11, Daniele Venzano wrote:
> This patch fixes the ID for i860 chipset and adds support for the UP
> version of i820 AGP bridge. I made it against kernel 2.4.17. It compiles
> and works both builin or as a module.

I was looking for this fix just yesterday.

This patch works on my system. You might want to take the extra step
and fix the PCI device id list, too:

% lspci | grep Unknown
00:00.0 Host bridge: Intel Corporation: Unknown device 2531 (rev 04)
00:02.0 PCI bridge: Intel Corporation: Unknown device 2533 (rev 04)
%

Andy


2002-01-19 08:33:18

by Nicolas ASPERT

[permalink] [raw]
Subject: Re: [PATCH] AGP update for i820 and i860 chipsets

Daniele Venzano wrote:

> This patch fixes the ID for i860 chipset and adds support for the UP
> version of i820 AGP bridge. I made it against kernel 2.4.17. It compiles
> and works both builin or as a module.
>
> It was submitted long ago by Nicolas Aspert and works well for
> me, I'm running XFree with DRI and AGP 4x without problems.
>
> This is my first patch, so there could be problems, however you could
> find it also at:
> http://digilander.iol.it/webvenza/agp_patch.html
>
> Best regards.
>
>

Hello Daniele

In fact, the patch you sent went into 2.4.18-pre2, along with my 830MP
stuff (which missed the suspend/resume), so it should be OK in the next
releases.

I am now doing the corrective patch for the suspend/resume stuff.

Best regards

Nicolas
--
Nicolas Aspert Signal Processing Laboratory (LTS)
Swiss Federal Institute of Technology (EPFL)
Office: ELE 237
Phone: +41 - 21 - 693 36 32 (LTS Office)
Fax: +41 - 21 - 693 76 00 Web: http://ltswww.epfl.ch/~aspert

2002-01-19 21:21:45

by Daniele Venzano

[permalink] [raw]
Subject: Re: [PATCH] AGP update for i820 and i860 chipsets

On Fri, Jan 18, 2002 at 04:33:41PM -0800, Andy Pfiffer wrote:
> This patch works on my system. You might want to take the extra step
> and fix the PCI device id list, too:
> % lspci | grep Unknown
> 00:00.0 Host bridge: Intel Corporation: Unknown device 2531 (rev 04)
> 00:02.0 PCI bridge: Intel Corporation: Unknown device 2533 (rev 04)
> %

I looked in drivers/pci/devlist.h and found:

DEVICE(8086,2531,"82850 860 (Wombat) Chipset Host Bridge (MCH)")
DEVICE(8086,2533,"82860 860 (Wombat) Chipset AGP Bridge")

I hadn't to modify it.
This in kernel 2.4.17, I hope this is the only place where pci ids
reside, if not what shuold I change ?

--
-----------------------------------------------------
Daniele Venzano
Senior member of the Linux User Group Genova (LUGGe)
E-Mail: [email protected]
Web: http://digilander.iol.it/webvenza/
LUGGe: http://lugge.ziobudda.net