linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.0-test1: include/linux/pci.h inconsistency?
@ 2003-07-14 15:06 Lars Duesing
  2003-07-14 15:40 ` Jeff Garzik
  2003-07-15 13:27 ` Marcelo Penna Guerra
  0 siblings, 2 replies; 7+ messages in thread
From: Lars Duesing @ 2003-07-14 15:06 UTC (permalink / raw)
  To: linux-kernel

Hi people!
After having problems compiling nforce2-drivers for 2.6.0-test1, I had a
look after include/linux/pci.h.
There is some inconsistency in there:

   pci_driver->driver_data is not there any more BUT in pci_dynids it is
referenced:

       unsigned int use_driver_data:1; /* pci_driver->driver_data is
used */

attached a dirty patch:


diff -u linux-2.6.0-test1/include/linux/pci.h
linux-2.6.0-test1.new/include/linux/pci.h
--- linux-2.6.0-test1/include/linux/pci.h       2003-07-14
05:34:02.000000000 +0200
+++ linux-2.6.0-test1.new/include/linux/pci.h   2003-07-14
16:48:30.000000000 +0200
@@ -501,7 +501,7 @@
 struct pci_dynids {
        spinlock_t lock;            /* protects list, index */
        struct list_head list;      /* for IDs added at runtime */
-       unsigned int use_driver_data:1; /* pci_driver->driver_data is
used */
+       unsigned int use_driver_data:0; /* pci_driver->driver_data is
NOT there any more */
 };


btw: this driver_data is used by the networking part of the
nforce2-driver. If anybody knows a hint, tell me. 
Else I will try to wake up someone at nvidia.

Greetings,

      Lars Duesing
	Munich University Of Applied Sciences, Students' Council


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: 2.6.0-test1: include/linux/pci.h inconsistency?
@ 2003-07-15 17:25 Lars Duesing
  0 siblings, 0 replies; 7+ messages in thread
From: Lars Duesing @ 2003-07-15 17:25 UTC (permalink / raw)
  To: Jeff Garzik, Marcelo Penna Guerra; +Cc: linux-kernel

Hi Jeff,

As I am since now in holidays I could not do this before July, 30. (I 
don't have this chipset here, only at work.)
But if someone gets on with it, any information is greatly appreciated.
If nobody gets on, I will try on/after July, 30.

greetings from hot south-east germany :)

         Lars


Jeff Garzik <jgarzik@pobox.com> wrote:

>I really would love some person with an nForce NIC to try and use
>amd8111e.c or pcnet32.c with their nForce2 NIC, and see what
>happens.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-07-16  1:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-14 15:06 2.6.0-test1: include/linux/pci.h inconsistency? Lars Duesing
2003-07-14 15:40 ` Jeff Garzik
2003-07-15 13:27 ` Marcelo Penna Guerra
2003-07-15 14:42   ` Jeff Garzik
2003-07-15 23:59     ` Marcelo Penna Guerra
2003-07-16  1:49     ` Rahul Karnik
2003-07-15 17:25 Lars Duesing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).