Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (9 sloc) 0.581 kb
---
linux_nic: |-
for BUSID in $(/sbin/lspci | awk '{ IGNORECASE=1 } /net/ { print $1 }'); do /sbin/lspci -s $BUSID -m; /sbin/lspci -s $BUSID -n; done
#00:19.0 "Ethernet controller" "Intel Corporation" "82566DM-2 Gigabit Network Connection" -r02 "Dell" "OptiPlex 755"
#00:19.0 0200: 8086:10bd (rev 02)
# | |
# grep these in command below, beware of case - fedora seems to have upper case letters in modules.alias
# grep -i as some may contain a letter
grep -i 8086 /lib/modules/*/modules.alias | gawk 'BEGIN{IGNORECASE=1} /10BD/ { print $3 }'
Jump to Line
Something went wrong with that request. Please try again.