summaryrefslogtreecommitdiffstats
path: root/pciusb.c
Commit message (Collapse)AuthorAgeFilesLines
* make ldetect 3x faster (and even faster on machines quite quite a lotThierry Vignaud2012-09-121-11/+13
| | | | | | | | | | | | of devices such as servers) (modalias_init) split it out of modalias_resolve_module() (modalias_cleanup) move libkmod related cleanups here (hid_probe,find_modules_through_aliases) only initialize libkmod once (which reduces user time from 0.26 to 0.08s & elapsed time from 0.28 to 0.9s)
* switch from libmodprobe to new libkmodThierry Vignaud2012-01-131-4/+0
|
* (pciusb_free) fix small memleakThierry Vignaud2012-01-051-0/+1
| | | | | (introduced in r44672 by tv on 2007-02-26 ("(pci_probe) get PCI class as reported by pciutils...")
* (modalias_resolve_module, pciusb_find_modules) use saner API for quieting ↵Thierry Vignaud2011-11-211-1/+1
| | | | libmodprobe
* make libmodprobe.so quietThierry Vignaud2011-10-181-0/+4
|
* remove useless includeThierry Vignaud2011-10-181-1/+0
|
* use same types as in libpci (in order to please Teuf)Thierry Vignaud2009-10-011-3/+3
|
* (pci_probe) use libpci in order to retrieve PCI capabilities in order to haveThierry Vignaud2009-09-301-0/+1
| | | | a better test for identifying PCI Express devices
* (pciusb_initialize) initialize pci revision to 0Thierry Vignaud2009-09-291-0/+1
|
* Move modalias parsing code to generic codeChristophe Fergeau2009-04-031-70/+3
|
* Fix some memory leaksChristophe Fergeau2009-04-031-3/+9
|
* do not use random string as device descriptionOlivier Blin2009-03-271-1/+1
| | | | | | | | | broken since commit r225445 from 2007-08-06: (pciusb_find_modules) handle pcitable without description field Broken output was the following: Mouse:USB|Generic 2 Button Mouse: base.frm" [Human Interface Device|Boot Interface Subclass|Mouse] (vendor:0603 device:6871)
* update commentOlivier Blin2009-03-271-2/+2
|
* use /sys/bus/usb/devices instead of /sys/class/usb_device (disabled in ↵Olivier Blin2009-03-271-2/+3
| | | | kernel) to find modalias (this breaks ABI because we now need to keep port number)
* - pciusb.c: Include <sys/utsname.h>, needed by uname(2)Luiz Fernando Capitulino2009-02-051-0/+1
|
* use usb_prefix as variable nameOlivier Blin2008-04-031-3/+3
|
* correctly use usbdev busnum and devnum when finding USB device in sysfs to ↵Olivier Blin2008-04-031-2/+3
| | | | get its modalias (#38721)
* fix bus type (and segfault on x86_64)Olivier Blin2008-02-291-1/+1
|
* do not free aliasfilename that early (really use modules.alias file from ↵Olivier Blin2008-02-281-2/+4
| | | | kernel or ldetect-lst)
* check opendir return codeOlivier Blin2008-02-271-0/+2
|
* find modules from USB modaliases as well (useful when module is aOlivier Blin2008-02-271-5/+32
| | | | | | dkms one, or during install where modules are not autoloaded, this could allow to remove most modules from usbtable)
* cosmeticsOlivier Blin2008-02-271-0/+1
|
* extract pci-specific functionOlivier Blin2008-02-271-1/+7
|
* extract set_modules_from_modalias_file (bus-independant)Olivier Blin2008-02-271-7/+13
|
* move libmodprobe variables declarationOlivier Blin2008-02-271-7/+6
|
* make some functions staticOlivier Blin2008-02-271-2/+2
|
* free modaliasOlivier Blin2008-02-271-0/+1
|
* free modalias path earlierOlivier Blin2008-02-271-1/+1
|
* set module in find_modules_through_aliases_oneOlivier Blin2008-02-271-9/+6
|
* fix indentationOlivier Blin2008-02-271-12/+12
|
* find default alias file once onlyOlivier Blin2008-02-271-20/+26
|
* extract set_modules_from_modalias()Olivier Blin2008-02-271-33/+36
|
* remove unused symfilenameOlivier Blin2008-02-271-3/+1
|
* pass bus to find_modaliasOlivier Blin2008-02-271-4/+4
|
* extract find_modalias functionOlivier Blin2008-02-271-21/+28
|
* fix indentationOlivier Blin2008-02-271-5/+5
|
* do not ignore subsequent modaliases if resolving one failsOlivier Blin2008-02-271-2/+2
|
* allow to modify the fh type more easily by adding more wrappersOlivier Blin2008-02-271-2/+2
|
* fix modalias fd leak (thanks to Anssi for the report)Olivier Blin2007-09-281-0/+2
|
* use ldetect-lst aliases from /lib/module-init-tools/, not from /usrOlivier Blin2007-09-111-1/+1
|
* indentOlivier Blin2007-09-111-14/+14
|
* do not read modules.dep and do not try to find command, we always try to ↵Olivier Blin2007-09-111-7/+0
| | | | find a modalias, not a module name (lspcidrake is now twice faster)
* do not read depends twiceOlivier Blin2007-09-091-13/+15
|
* use module aliases from first match onlyOlivier Blin2007-09-091-1/+1
|
* use table_name_to_file() not to hardcode ldetect-lst path everywhereOlivier Blin2007-09-071-7/+9
|
* use ldetect's preferred-modules.alias file before other aliases filesOlivier Blin2007-09-071-1/+2
|
* rewriteOlivier Blin2007-09-071-5/+5
|
* fallback on ldetect-lst's dkms-modules.alias if no alias is found (to find ↵Olivier Blin2007-08-311-2/+6
| | | | modules available in dkms packages)
* avoid a useless alloc + freeOlivier Blin2007-08-311-7/+5
|
* move fallback path in a macroOlivier Blin2007-08-311-1/+3
|