added card type

This commit is contained in:
inxi-svn 2011-04-30 06:45:56 +00:00
parent fa2166c105
commit 46671c817b

4
inxi
View file

@ -462,7 +462,7 @@ BAN_LIST_CPU=''
### USB networking search string data, because some brands can have other products than ### USB networking search string data, because some brands can have other products than
### wifi/nic cards, they need further identifiers, with wildcards. ### wifi/nic cards, they need further identifiers, with wildcards.
USB_NETWORK_SEARCH="Atmel Linksys Netgear Realtek.*Network Realtek.*Wireless Realtek.*WLAN" USB_NETWORK_SEARCH="Atmel Davicom Linksys Netgear Realtek.*Network Realtek.*Wireless Realtek.*WLAN"
# WARNING: In the main part below (search for 'KONVI') # WARNING: In the main part below (search for 'KONVI')
# there's a check for Konversation-specific config files. # there's a check for Konversation-specific config files.
@ -3317,6 +3317,8 @@ get_networking_data()
{ {
gsub( /,/, " ", $0 ) gsub( /,/, " ", $0 )
gsub(/'"$BAN_LIST_NORMAL"'/, "", $0) gsub(/'"$BAN_LIST_NORMAL"'/, "", $0)
gsub(/realtek semiconductor/, "Realtek", $0)
gsub(/davicom semiconductor/, "Davicom", $0)
for ( i=7; i<= NF; i++ ) { for ( i=7; i<= NF; i++ ) {
string = string separator $i string = string separator $i
separator = " " separator = " "