| # |
| # configure 88x2011 |
| # |
| |
| open 0 /sys/bus/pci/devices/0000:01:00.0/resource0 0 0x00100000 |
| open 2 /sys/bus/pci/devices/0000:01:00.0/resource2 0 0x04000000 |
| open 4 /sys/bus/pci/devices/0000:01:00.0/resource4 0 0x00800000 |
| |
| write 2 0x00000000 4 0x00000000 |
| |
| # device 3 - software reset sequence |
| mwrite 2 0x01040008 0x01040000 4 3 0x0000 0x8000 |
| msleep 50 |
| mwrite 2 0x01040008 0x01040000 4 3 0xfe31 0x2100 |
| mwrite 2 0x01040008 0x01040000 4 3 0xfe31 0x2000 |
| mwrite 2 0x01040008 0x01040000 4 3 0xfe31 0x0000 |
| msleep 20 |
| mread 2 0x01040008 0x01040000 4 3 0x8127 1 |
| |
| # device 2 - software reset sequence |
| mwrite 2 0x01040008 0x01040000 4 2 0x0000 0x8000 |
| msleep 50 |
| mwrite 2 0x01040008 0x01040000 4 3 0xfe31 0x2100 |
| mwrite 2 0x01040008 0x01040000 4 3 0xfe31 0x2000 |
| mwrite 2 0x01040008 0x01040000 4 3 0xfe31 0x0000 |
| msleep 20 |
| mread 2 0x01040008 0x01040000 4 3 0x8127 1 |
| |
| # device 1 - software reset sequence |
| mwrite 2 0x01040008 0x01040000 4 1 0x0000 0x8000 |
| msleep 50 |
| mwrite 2 0x01040008 0x01040000 4 3 0xfe31 0x2100 |
| mwrite 2 0x01040008 0x01040000 4 3 0xfe31 0x2000 |
| mwrite 2 0x01040008 0x01040000 4 3 0xfe31 0x0000 |
| msleep 20 |
| mread 2 0x01040008 0x01040000 4 3 0x8127 1 |