[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Improved linuxrc.s390 (third try)



Steffen Maier (maier linux vnet ibm com) said: 
> Here is my promised udev rule to load LCS and CTC and thus all current
> network devices drivers on s390x automatically. I'm still a bit unsure
> where exactly to put it between all existing rules. At least it worked
> in an F9 based internal build for s390x. The rule definitely has to be
> before /etc/udev/rules.d/55-ccw.rules. Here we go
> /etc/udev/rules.d/54-cu3088-fix.rules:
> 
> # LCS
> ACTION=="add", SUBSYSTEM=="ccw", SYSFS{cutype}=="3088/01", RUN+="/sbin/modprobe --quiet lcs"
> ACTION=="add", SUBSYSTEM=="ccw", SYSFS{cutype}=="3088/60", RUN+="/sbin/modprobe --quiet lcs"
> # could be either CTC or LCS
> ACTION=="add", SUBSYSTEM=="ccw", SYSFS{cutype}=="3088/08", RUN+="/sbin/modprobe --quiet ctcm"
> ACTION=="add", SUBSYSTEM=="ccw", SYSFS{cutype}=="3088/08", RUN+="/sbin/modprobe --quiet lcs"
> # CTC
> ACTION=="add", SUBSYSTEM=="ccw", SYSFS{cutype}=="3088/1E", RUN+="/sbin/modprobe --quiet ctcm"
> ACTION=="add", SUBSYSTEM=="ccw", SYSFS{cutype}=="3088/1F", RUN+="/sbin/modprobe --quiet ctcm"
> 
> 
> Comments greatly appreciated.

This seems like the sort of thing that could be automated with modaliases
in the driver and sysfs.

Bill


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]