summaryrefslogtreecommitdiffstats
path: root/pci.c
Commit message (Collapse)AuthorAgeFilesLines
...
* fix PCI_CLASS_PROG offsetThierry Vignaud2002-08-291-1/+1
|
* - kill last fseekThierry Vignaud2002-08-251-26/+21
| | | | | | - change if(cdt) cascade into if(!cdt) continue - move loop invariant out of loop
* try to not freeze on buggy motherboard by preventing:Thierry Vignaud2002-08-221-5/+6
| | | | | | | | - seeking in /proc/bus/pci/<bus>/<device>.<function> - not reading the whole /proc/bus/pci/<bus>/<device>.<function> we now read 48 linear bytes the same way lspci read 64 linear bytes.
* - usb.c: allocate mem as pci.c doesThierry Vignaud2002-08-161-6/+5
| | | | | | | | | - usb.c: kill dead code - usb.c: give url to get info on /proc/bus/usb/devices format - usb.c: the /proc/bus/usb/devices really is a state machine; use switch to make it clearer - {usb,pci}.c: r.nb is zeroed in all path, let's do it only time
* - don't die when missing /proc/bus/pci/devices (resp. /proc/bus/usb/devices),Pascal Rigaux2002-07-221-2/+4
| | | | | | | since on some boxes, this is *normal*! - free error messages obtained via asprintf - remove debugging message "TOTO"
* no need for unistd.hThierry Vignaud2002-07-161-1/+0
|
* - print error message if unable to open the arguement passed to -u,-pThierry Vignaud2002-07-161-1/+9
| | | | | | - print error message if usb service isn't started (commented for now to follow previous behaviour)
* - pci.c: add the ability to read pci devices list from a file insteadThierry Vignaud2002-07-161-1/+2
| | | | | | | | | of /proc/bus/pci/devices - spec: prepare for next release - add ChangeLog
* - change memory pattern : MAX*sizeof(entry) on stack + REAL_NB*sizeof() in heapThierry Vignaud2002-07-161-23/+23
| | | | | | | to MAX*sizeof(entry) on heap then downsized to real size - make if (test) action clearer by rejecting action singleton in next line
* don't do useless stuff when full probe isn't requires:Thierry Vignaud2002-07-161-2/+2
| | | | | | - allocatestuff on stack - call snprintf
* factorize common constants in private headerThierry Vignaud2002-07-041-1/+1
|
* factorize common constants in private headerThierry Vignaud2002-07-041-1/+1
|
* get rid of more uneeded copiesThierry Vignaud2002-07-031-1/+1
|
* get rid of {pci,usb}_find_modules()Thierry Vignaud2002-07-031-4/+2
|
* indent-regionThierry Vignaud2002-07-031-50/+50
|
* ensure the header file are C++ compliant (do not use "class" for struct ↵Pascal Rigaux2002-06-101-2/+2
| | | | field name)
* in probe_type=1, recognize usb controllers (is either usb-uhci or usb-ohci)Pascal Rigaux2001-12-281-0/+11
|
* if subid can be useful, use them. use probe_type==-1 to ensure no subid is usedPascal Rigaux2001-03-211-12/+10
|
* added pci(bus,device,function) for DrakX.Francois Pons2001-03-151-1/+4
|
* *** empty log message ***Francois Pons2001-03-061-1/+8
|
* fix the fclosePascal Rigaux2001-02-101-1/+1
|
* add some fclose where it shouldPascal Rigaux2001-02-061-0/+1
|
* now detect usbPascal Rigaux2000-12-161-71/+22
|
* creationPascal Rigaux2000-12-151-0/+103