The kernel provides symbols for all of the PCI ID constants via pci_ids.h. The
strings describing the hardware are duplicated against drivers/pci/pci.ids. How
do the kernel people feel about us not using their symbols and strings? We're
creating duplicate definitions for these items. I seem to recall one of the
kernel people pointing this out before. On the other hand we have to support BSD
with it's own set of symbols and strings.

I'd still like to get the chip families encoded into the structure but it is not
an immediate need. The strings are a driver private field that we can do
anything we want with. The simplest solution would be to make the first
character of the string encode the family and then bump the string pointer over
a char. Maybe something like this for the string: "\\##R200_FAMILYR250 device
name string". Encoding it in the string will save a bunch of constant pointers.

=====
Jon Smirl
[EMAIL PROTECTED]


        
                
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to