pci_find_cap patch

15 views
Skip to first unread message

Colin Fowler

unread,
Nov 25, 2009, 4:17:15 PM11/25/09
to min...@googlegroups.com
Hi all,
the attached patch, which I've cooked up, adds some new functionality to the
PCI driver. It allows you to query for specific device capabilities. This
function is analogous to Linux's pci_find_capability functionality, but is not
based on Linux code. It's a clean implementation and can be safely applied to
BSD code.

It's my first contributed Minix patch, so testing, bug reports and notes on
style are very welcome.

It works for me though :)

regards,
Colin
pci_find_cap.patch

Elethiomel

unread,
Nov 30, 2009, 4:20:03 PM11/30/09
to minix3
Hi guys,
did anyone take a look at this patch? Any comments on the
implementation or whether the functionality exposed is useful? It
certainly is for me and I can see it becoming more and more useful as
more stuff is added to the PCI driver.

regards,
Colin
>  pci_find_cap.patch
> 3KViewDownload
Reply all
Reply to author
Forward
0 new messages