Specifying the relative port number
Use the portno sysfs attribute to specify the relative port number.
Before you begin
- This description applies to adapters that, per CHPID, show more than one port to Linux®.
- The device must be offline while you specify the relative port number.
Procedure
By default, the qeth group device uses port 0.
To use a different port, issue a command of the form:
# chzdev -a <device_bus_id> portno=<integer>
or,
using
sysfs:# echo <integer> > /sys/bus/ccwgroup/drivers/qeth/<device_bus_id>/portno
Where <integer> is either 0 or 1.Example
# chzdev -a 0.0.a000 portno=1
or,
using sysfs:# echo 1 > /sys/bus/ccwgroup/drivers/qeth/0.0.a000/portno