I've done the merge of the two PCI code and here is the patch.

Cedric

On Jan 9, 2008 12:07 PM, Cédric Rousseau <[EMAIL PROTECTED]> wrote:

> Well, too late...
> I sent this night a patch that enabled PCI in the same way than you,
> viraptor.
> The problem is that this mail is waiting for moderator approval, because
> it is too big (a screenshot make it more than 50KB).
> I send here a modified one because I think it can be merge easily with
> your modifications.
>
> The difference is that I've created a PCIController class (that is the
> equivalent of your PCI class)  that maintain an array of PCIDevice
> instances. This controller is a stub class that is initialized at boot time.
>
> PCIDevice is implementation independant and make call to PCIController
> methods.
> I've added a shell function 'pci' that list the detected devices.
>
> Now, we have to implement a VendorID/DeviceID lookup table (such a list
> can be found in the net), and to create specialized implementations of
> PCIDevice using the PCIDevice.Class property.
> I've already created an enumeration for class types and the 'pci' command
> could be more descriptive if Enum.ToString() member exist.
>
> Cedric

Attachment: 20080109_PCI_3.patch
Description: Binary data

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
SharpOS-Developers mailing list
SharpOS-Developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sharpos-developers

Reply via email to