Since mlx4_en does not publish a list of pci ids to support, put udev rule

to detect and load appropriate drivers

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11430 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-01-28 14:26:05 +00:00
parent ff55c8e93e
commit 59835e592a
3 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1 @@
SUBSYSTEM=="pci", ATTRS{subsystem_vendor}=="15b3", ATTRS{subsystem_device}=="4010", RUN+="/sbin/loadmlxeth"

View File

@ -604,7 +604,9 @@ inst "$moddir/dhclient.conf" "/etc/dhclient.conf"
inst "$moddir/dhclient-script" "/sbin/dhclient-script"
inst "$moddir/rsyslog.conf" "/etc/rsyslog.conf"
inst "$moddir/99-imm.rules" "/etc/udev/rules.d/99-imm.rules"
inst "$moddir/98-mlx.rules" "/etc/udev/rules.d/98-mlx.rules"
inst "$moddir/setupimmnic" "/sbin/setupimmnic"
inst "$moddir/loadmlxeth" "/sbin/loadmlxeth"
dracut_install /sbin/rpc.statd /usr/sbin/sm-notify /etc/netconfig rpcbind /etc/host.conf /usr/sbin/rpc.idmapd
dracut_install ps free find #debug
inst_dir /var/lib/nfs

1
xCAT-nbroot2/loadmlxeth Executable file
View File

@ -0,0 +1 @@
modprobe mlx4_en