From e3f143bf539e6daf0e83421c5d2c37966288f7fb Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 8 Aug 2002 15:20:27 +0000 Subject: - struct pciusb_entrie : add already_found flag - pciusb::pciusb_initialize() : zero the above flag: - pciusb::pciusb_find_modules() : use the above flag: o if device subids matches the table ones, swtich the already_found flag o skip already handled device (if already_found==1) --- libldetect.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libldetect.h') diff --git a/libldetect.h b/libldetect.h index 2e985e3..5f31c69 100644 --- a/libldetect.h +++ b/libldetect.h @@ -15,6 +15,7 @@ struct pciusb_entry { char *module; char *text; + int already_found:1; }; struct pciusb_entries { struct pciusb_entry *entries; -- cgit v1.2.1