Using libpci for reading PCI vendor/device/etc

Mike Frysinger vapier at gentoo.org
Thu Jun 21 17:33:48 PDT 2007


On Thursday 21 June 2007, Bill Nottingham wrote:
> Daniel Drake (dsd at gentoo.org) said:
> > Mike's patch at
> > http://lists.freedesktop.org/archives/hal/2007-June/008830.html works
> > fine with both compressed and uncompressed pci.ids. It's a much nicer
> > approach than the unzip-in-memory patch I posted earlier.
> >
> > Do the concerns about increased footprint for embedded users matter
> > here, or can this be applied?
>
> Also, as written, the patch will cause hald to *exit* on a parse error
> of pci.ids. (libpci calls exit() by default on errors)

attached version addresses that
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/hal/attachments/20070621/51a5b7a3/attachment.pgp 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-use-libpci.patch.zip
Type: application/x-zip
Size: 4513 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070621/51a5b7a3/attachment.bin 


More information about the hal mailing list