diff options
| -rw-r--r-- | hardinfo2/arch/linux/common/pci.h | 6 | ||||
| -rwxr-xr-x | hardinfo2/configure | 2 | 
2 files changed, 7 insertions, 1 deletions
| diff --git a/hardinfo2/arch/linux/common/pci.h b/hardinfo2/arch/linux/common/pci.h index ada3118b..7358090a 100644 --- a/hardinfo2/arch/linux/common/pci.h +++ b/hardinfo2/arch/linux/common/pci.h @@ -99,6 +99,12 @@ __scan_pci(void)  		strdevice = h_strdup_cprintf("Latency=%d\n", strdevice, latency);  	    strdevice = h_strdup_cprintf("Bus Master=%s\n", strdevice, bus_master ? "Yes" : "No"); +	} else if (!strncmp(buf, "Kernel modules", 14)) { +	    WALK_UNTIL(' '); +	    WALK_UNTIL(':'); +	    buf++; +	     +	    strdevice = h_strdup_cprintf("Kernel modules=%s\n", strdevice, buf);  	} else if (!strncmp(buf, "Subsystem", 9)) {  	    WALK_UNTIL(' ');  	    buf++; diff --git a/hardinfo2/configure b/hardinfo2/configure index d8113727..a5f698ce 100755 --- a/hardinfo2/configure +++ b/hardinfo2/configure @@ -201,7 +201,7 @@ echo -e "#ifndef __CONFIG_H__\n#define __CONFIG_H__\n" > config.h  echo "#define VERSION \"$VERSION\"" >> config.h -echo "#define LSPCI \"$LSPCI -v\"" >> config.h +echo "#define LSPCI \"$LSPCI -vk\"" >> config.h  echo "#define $ARCH" >> config.h  echo "#define ARCH     \"$ARCH\"" >> config.h | 
