Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | oops: sata_via doesn't support for CLASS probing whereas sata_nv does | Thierry Vignaud | 2005-03-30 | 1 | -2/+2 |
| | |||||
* | libify and simplify | Pascal Rigaux | 2005-03-14 | 1 | -3/+1 |
| | |||||
* | setting .nb to 0 seems a better idea than setting .entries | Pascal Rigaux | 2005-03-11 | 1 | -1/+2 |
| | |||||
* | handle a few more special cases (gdth, snd-vx222, 8139too, and agp bridges) | Thierry Vignaud | 2005-02-17 | 1 | -0/+20 |
| | |||||
* | detect VIA SATA controllers since new sata_via.c driver probes them | Thierry Vignaud | 2005-02-17 | 1 | -0/+2 |
| | | | | | | this way... (we should really add a class/... matching table like kernel's pcimap is) | ||||
* | all PCI_CLASS_BRIDGE_CARDBUS cards are yenta_socket (says kudzu) | Pascal Rigaux | 2004-12-07 | 1 | -2/+8 |
| | |||||
* | do full-probe by default; remove support for no full-probe | Thierry Vignaud | 2003-08-19 | 1 | -8/+2 |
| | |||||
* | - detect ohci1394 & ehci-hcd based on the pci class | Pascal Rigaux | 2003-07-31 | 1 | -2/+13 |
| | | | | | (as done in RedHat's kudzu) | ||||
* | Use read() instead of fread() to read from "/proc/bus/pci/%02x/%02x.%d". | Pascal Rigaux | 2003-04-22 | 1 | -4/+8 |
| | | | | | | | | | | | | Thanks a lot to Tom Cox for finding this bug: The proc.c module in the kernel source clearly states that reading more than 64 bytes can cause problems. The pci.c module in the ldetect library uses the buffered fread() function. This function always reads in blocks, so when run as root, the read always tried to read more than the user requested amount. | ||||
* | no error message when -p is not used and there is neither pci nor usb bus | Pascal Rigaux | 2002-11-05 | 1 | -8/+11 |
| | |||||
* | fix PCI_CLASS_PROG offset | Thierry Vignaud | 2002-08-29 | 1 | -1/+1 |
| | |||||
* | - kill last fseek | Thierry Vignaud | 2002-08-25 | 1 | -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 Vignaud | 2002-08-22 | 1 | -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 does | Thierry Vignaud | 2002-08-16 | 1 | -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 Rigaux | 2002-07-22 | 1 | -2/+4 |
| | | | | | | | since on some boxes, this is *normal*! - free error messages obtained via asprintf - remove debugging message "TOTO" | ||||
* | no need for unistd.h | Thierry Vignaud | 2002-07-16 | 1 | -1/+0 |
| | |||||
* | - print error message if unable to open the arguement passed to -u,-p | Thierry Vignaud | 2002-07-16 | 1 | -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 instead | Thierry Vignaud | 2002-07-16 | 1 | -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 heap | Thierry Vignaud | 2002-07-16 | 1 | -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 Vignaud | 2002-07-16 | 1 | -2/+2 |
| | | | | | | - allocatestuff on stack - call snprintf | ||||
* | factorize common constants in private header | Thierry Vignaud | 2002-07-04 | 1 | -1/+1 |
| | |||||
* | factorize common constants in private header | Thierry Vignaud | 2002-07-04 | 1 | -1/+1 |
| | |||||
* | get rid of more uneeded copies | Thierry Vignaud | 2002-07-03 | 1 | -1/+1 |
| | |||||
* | get rid of {pci,usb}_find_modules() | Thierry Vignaud | 2002-07-03 | 1 | -4/+2 |
| | |||||
* | indent-region | Thierry Vignaud | 2002-07-03 | 1 | -50/+50 |
| | |||||
* | ensure the header file are C++ compliant (do not use "class" for struct ↵ | Pascal Rigaux | 2002-06-10 | 1 | -2/+2 |
| | | | | field name) | ||||
* | in probe_type=1, recognize usb controllers (is either usb-uhci or usb-ohci) | Pascal Rigaux | 2001-12-28 | 1 | -0/+11 |
| | |||||
* | if subid can be useful, use them. use probe_type==-1 to ensure no subid is used | Pascal Rigaux | 2001-03-21 | 1 | -12/+10 |
| | |||||
* | added pci(bus,device,function) for DrakX. | Francois Pons | 2001-03-15 | 1 | -1/+4 |
| | |||||
* | *** empty log message *** | Francois Pons | 2001-03-06 | 1 | -1/+8 |
| | |||||
* | fix the fclose | Pascal Rigaux | 2001-02-10 | 1 | -1/+1 |
| | |||||
* | add some fclose where it should | Pascal Rigaux | 2001-02-06 | 1 | -0/+1 |
| | |||||
* | now detect usb | Pascal Rigaux | 2000-12-16 | 1 | -71/+22 |
| | |||||
* | creation | Pascal Rigaux | 2000-12-15 | 1 | -0/+103 |