2 * Generic Broadcom Home Networking Division (HND) PIO engine HW interface
3 * This supports the following chips: BCM42xx, 44xx, 47xx .
5 * Copyright 2007, Broadcom Corporation
8 * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
9 * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
10 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
11 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
19 * support two PIO format: 2 bytes access and 4 bytes access
20 * basic FIFO register set is per channel(transmit or receive)
21 * a pair of channels is defined for convenience
24 /* 2byte-wide pio register set per channel(xmt or rcv) */
25 typedef volatile struct {
28 uint16 fifofree
; /* only valid in xmt channel, not in rcv channel */
32 /* a pair of pio channels(tx and rx) */
33 typedef volatile struct {
38 /* 4byte-wide pio register set per channel(xmt or rcv) */
39 typedef volatile struct {
44 /* a pair of pio channels(tx and rx) */
45 typedef volatile struct {
50 #endif /* _sbhndpio_h_ */