--- Dave Airlie <[EMAIL PROTECTED]> wrote: > My main worry is that this stuff break BSD compat, and without Eric > around > I'd say fixing it mightn't be the easiest, also for the 2.6 merge I've > removed all the device ID strings as as Dave J pointed out they are > duplicating pci.ids, can we not get this info from the pci layer on > Linux > and perhaps for BSD keep the strings if they have nothing similiar..... > I had a good fix for this in one of my patches. Only BSD needs the names but both need the IDs and linux even had a hotplug struct. This was geard and enginered with both OSes being treated as eaquils and other OSes made easy to acommidate. What I did was had some macroes that took paramiters and filled ought the struct depending on what OS the macro came from. I put this all in <radeon>.h inside a ifdeine PCIID_STRUCT that only got deffined in the <radeon>.c right b4 the include. Thought this info dose not have to live in the headers I thouht it just looked nicer that way.
It got bitrotten soon after so I stoped updating it and later lost it. I could redo the patch if it would get commited this time. Mike. > > Dave. > > -- > David Airlie, Software Engineer > http://www.skynet.ie/~airlied / airlied at skynet.ie > pam_smb / Linux DECstation / Linux VAX / ILUG person > __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ ------------------------------------------------------- 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
