[CFT] intel g33 & g45

Robert Noland rnoland at FreeBSD.org
Tue Sep 30 12:20:16 UTC 2008


On Tue, 2008-09-30 at 11:45 +0200, Paul B. Mahol wrote:
> On 9/30/08, Robert Noland <rnoland at freebsd.org> wrote:
> > Attached is a patch to agp_i810 that should correctly handle that g33 /
> > q33 intel chipsets.  It also should add support for the g45 series chips
> > (x4500).  I don't have any of this hardware to test, so I need some
> > feedback, either way.
> >
> > This also changes the 945 code slightly, so that is also worth testing.
> > I am running on a 945gm now.
> >
> > This is against -CURRENT, but may apply to STABLE as well.
> 
> Patching doesnt work on CURRENT for me:
> 
> # cd /sys/dev/agp
> # patch -C < /home/paul/src/freebsd/agp_i810-g33-g45.patch
> Hmm...  Looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |Index: agp_i810.c
> |===================================================================
> |--- agp_i810.c (revision 183193)
> |+++ agp_i810.c (working copy)
> --------------------------
> Patching file agp_i810.c using Plan A...
> Hunk #1 failed at 70.
> Hunk #2 failed at 134.
> Hunk #3 failed at 155.
> Hunk #4 failed at 485.
> Hunk #5 failed at 501.
> Hunk #6 failed at 512.
> Hunk #7 failed at 530.
> Hunk #8 failed at 567.
> Hunk #9 failed at 657.
> Hunk #10 failed at 674.
> 10 out of 10 hunks failed--saving rejects to agp_i810.c.rej
> Hmm...  The next patch looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |Index: agpreg.h
> |===================================================================
> |--- agpreg.h   (revision 183193)
> |+++ agpreg.h   (working copy)
> --------------------------
> Patching file agpreg.h using Plan A...
> Hunk #1 failed at 215.
> Hunk #2 failed at 259.
> 2 out of 2 hunks failed--saving rejects to agpreg.h.rej
> done

wombat% pwd
/home/rnoland/freebsd/src/sys/dev/agp
wombat% patch -C < ~/agp_i810-g33-g45.patch 
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: agp_i810.c
|===================================================================
|--- agp_i810.c (revision 183193)
|+++ agp_i810.c (working copy)
--------------------------
Patching file agp_i810.c using Plan A...
Hunk #1 succeeded at 70.
Hunk #2 succeeded at 134.
Hunk #3 succeeded at 155.
Hunk #4 succeeded at 485.
Hunk #5 succeeded at 501.
Hunk #6 succeeded at 512.
Hunk #7 succeeded at 530.
Hunk #8 succeeded at 567.
Hunk #9 succeeded at 657.
Hunk #10 succeeded at 674.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: agpreg.h
|===================================================================
|--- agpreg.h   (revision 183193)
|+++ agpreg.h   (working copy)
--------------------------
Patching file agpreg.h using Plan A...
Hunk #1 succeeded at 215.
Hunk #2 succeeded at 259.
done

I just checked it against my current cvs checkout of src.  Maybe it was
corrupted by the mailer.  I'll put it up at
http://people.freebsd.org/~rnoland/agp_i810-g33-g45.patch

robert.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20080930/8b4b2b9c/attachment.pgp


More information about the freebsd-x11 mailing list