• Olaf Hering's avatar
    [PATCH] ppc64: add MODALIAS= for vio bus · 143dcec2
    Olaf Hering authored
    A non-broken udev would autoload also the drivers for devices on the
    pseries vio bus, like ibmveth, ibmvscsic and hvsc.  This is similar to pci,
    usb and ieee1394:
    
     /lib/modules/`uname -r`/modules.alias
    alias vio:TvscsiSIBM,v-scsi* ibmvscsic
    alias vio:TnetworkSIBM,l-lan* ibmveth
    alias vio:Tserial-serverShvterm2* hvcs
    
    /events/debug.00004.pci.add.1394:MODALIAS='pci:v00001014d00000188sv00000000sd00000000bc06sc04i0f'
    /events/debug.00005.pci.add.1509:MODALIAS='pci:v00008086d00001229sv00001014sd000001FFbc02sc00i00'
    /events/debug.00026.vio.add.1519:MODALIAS='vio:TserialShvterm1'
    /events/debug.00027.vio.add.1446:MODALIAS='vio:TvscsiSIBM,v-scsi'
    /events/debug.00028.vio.add.1451:MODALIAS='vio:TnetworkSIBM,l-lan'
    
     modprobe -v vio:TnetworkSIBM,l-lan
    insmod /lib/modules/2.6.14-20051030_vio-ppc64/kernel/drivers/net/ibmveth.ko
    Signed-off-by: default avatarOlaf Hering <olh@suse.de>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    143dcec2
vio.c 7.65 KB