Re: [m5-dev] host bridge device

2008-06-13 Thread Gabe Black
The code following the comment in my original email is below. Basically, it looks like the kernel reads some registers out of the config space of bus 0 dev 0 function 0-0x100 and sees if they match certain values. I'd imagine that wouldn't be very hard to do but I don't have any experience with

Re: [m5-dev] host bridge device

2008-06-13 Thread Ali Saidi
Looking at this code it seems like the easiest thing is to make sure that dmi_get_year(DMI_BIOS_DATE) = 2001.Do you have a DMI table? If you set the BIOS date 2001 the function could be skipped. It's just checking if it some device exists that makes it think this is actually PCI that it's

Re: [m5-dev] host bridge device

2008-06-09 Thread Gabe Black
So this would be the PCI bus support in the north bridge for instance? Should I just arbitrarily pick a chipset and implement that, or is there something more generic? Gabe nathan binkert wrote: So as it says, it's checking bus 0 device 0 for a host bridge. Do we have a way to set that up? I

Re: [m5-dev] host bridge device

2008-06-09 Thread nathan binkert
So this would be the PCI bus support in the north bridge for instance? Should I just arbitrarily pick a chipset and implement that, or is there something more generic? I think that there's really only one interface for this that really matters. On alpha, there were lots of north bridge