s/u_intXX_t/uintXX_t/g
This commit is contained in:
parent
e4eb0f2e15
commit
ee320f98a9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218835
@ -261,16 +261,16 @@ static void dc_dma_map_addr(void *, bus_dma_segment_t *, int, int);
|
||||
static void dc_delay(struct dc_softc *);
|
||||
static void dc_eeprom_idle(struct dc_softc *);
|
||||
static void dc_eeprom_putbyte(struct dc_softc *, int);
|
||||
static void dc_eeprom_getword(struct dc_softc *, int, u_int16_t *);
|
||||
static void dc_eeprom_getword_pnic(struct dc_softc *, int, u_int16_t *);
|
||||
static void dc_eeprom_getword_xircom(struct dc_softc *, int, u_int16_t *);
|
||||
static void dc_eeprom_getword(struct dc_softc *, int, uint16_t *);
|
||||
static void dc_eeprom_getword_pnic(struct dc_softc *, int, uint16_t *);
|
||||
static void dc_eeprom_getword_xircom(struct dc_softc *, int, uint16_t *);
|
||||
static void dc_eeprom_width(struct dc_softc *);
|
||||
static void dc_read_eeprom(struct dc_softc *, caddr_t, int, int, int);
|
||||
|
||||
static void dc_mii_writebit(struct dc_softc *, int);
|
||||
static int dc_mii_readbit(struct dc_softc *);
|
||||
static void dc_mii_sync(struct dc_softc *);
|
||||
static void dc_mii_send(struct dc_softc *, u_int32_t, int);
|
||||
static void dc_mii_send(struct dc_softc *, uint32_t, int);
|
||||
static int dc_mii_readreg(struct dc_softc *, struct dc_mii_frame *);
|
||||
static int dc_mii_writereg(struct dc_softc *, struct dc_mii_frame *);
|
||||
static int dc_miibus_readreg(device_t, int, int);
|
||||
@ -495,10 +495,10 @@ dc_eeprom_putbyte(struct dc_softc *sc, int addr)
|
||||
* the EEPROM.
|
||||
*/
|
||||
static void
|
||||
dc_eeprom_getword_pnic(struct dc_softc *sc, int addr, u_int16_t *dest)
|
||||
dc_eeprom_getword_pnic(struct dc_softc *sc, int addr, uint16_t *dest)
|
||||
{
|
||||
int i;
|
||||
u_int32_t r;
|
||||
uint32_t r;
|
||||
|
||||
CSR_WRITE_4(sc, DC_PN_SIOCTL, DC_PN_EEOPCODE_READ | addr);
|
||||
|
||||
@ -506,7 +506,7 @@ dc_eeprom_getword_pnic(struct dc_softc *sc, int addr, u_int16_t *dest)
|
||||
DELAY(1);
|
||||
r = CSR_READ_4(sc, DC_SIO);
|
||||
if (!(r & DC_PN_SIOCTL_BUSY)) {
|
||||
*dest = (u_int16_t)(r & 0xFFFF);
|
||||
*dest = (uint16_t)(r & 0xFFFF);
|
||||
return;
|
||||
}
|
||||
}
|
||||
@ -518,17 +518,17 @@ dc_eeprom_getword_pnic(struct dc_softc *sc, int addr, u_int16_t *dest)
|
||||
* the EEPROM, too.
|
||||
*/
|
||||
static void
|
||||
dc_eeprom_getword_xircom(struct dc_softc *sc, int addr, u_int16_t *dest)
|
||||
dc_eeprom_getword_xircom(struct dc_softc *sc, int addr, uint16_t *dest)
|
||||
{
|
||||
|
||||
SIO_SET(DC_SIO_ROMSEL | DC_SIO_ROMCTL_READ);
|
||||
|
||||
addr *= 2;
|
||||
CSR_WRITE_4(sc, DC_ROM, addr | 0x160);
|
||||
*dest = (u_int16_t)CSR_READ_4(sc, DC_SIO) & 0xff;
|
||||
*dest = (uint16_t)CSR_READ_4(sc, DC_SIO) & 0xff;
|
||||
addr += 1;
|
||||
CSR_WRITE_4(sc, DC_ROM, addr | 0x160);
|
||||
*dest |= ((u_int16_t)CSR_READ_4(sc, DC_SIO) & 0xff) << 8;
|
||||
*dest |= ((uint16_t)CSR_READ_4(sc, DC_SIO) & 0xff) << 8;
|
||||
|
||||
SIO_CLR(DC_SIO_ROMSEL | DC_SIO_ROMCTL_READ);
|
||||
}
|
||||
@ -537,10 +537,10 @@ dc_eeprom_getword_xircom(struct dc_softc *sc, int addr, u_int16_t *dest)
|
||||
* Read a word of data stored in the EEPROM at address 'addr.'
|
||||
*/
|
||||
static void
|
||||
dc_eeprom_getword(struct dc_softc *sc, int addr, u_int16_t *dest)
|
||||
dc_eeprom_getword(struct dc_softc *sc, int addr, uint16_t *dest)
|
||||
{
|
||||
int i;
|
||||
u_int16_t word = 0;
|
||||
uint16_t word = 0;
|
||||
|
||||
/* Force EEPROM to idle state. */
|
||||
dc_eeprom_idle(sc);
|
||||
@ -586,7 +586,7 @@ static void
|
||||
dc_read_eeprom(struct dc_softc *sc, caddr_t dest, int off, int cnt, int be)
|
||||
{
|
||||
int i;
|
||||
u_int16_t word = 0, *ptr;
|
||||
uint16_t word = 0, *ptr;
|
||||
|
||||
for (i = 0; i < cnt; i++) {
|
||||
if (DC_IS_PNIC(sc))
|
||||
@ -595,7 +595,7 @@ dc_read_eeprom(struct dc_softc *sc, caddr_t dest, int off, int cnt, int be)
|
||||
dc_eeprom_getword_xircom(sc, off + i, &word);
|
||||
else
|
||||
dc_eeprom_getword(sc, off + i, &word);
|
||||
ptr = (u_int16_t *)(dest + (i * 2));
|
||||
ptr = (uint16_t *)(dest + (i * 2));
|
||||
if (be)
|
||||
*ptr = be16toh(word);
|
||||
else
|
||||
@ -680,7 +680,7 @@ dc_mii_sync(struct dc_softc *sc)
|
||||
* Clock a series of bits through the MII.
|
||||
*/
|
||||
static void
|
||||
dc_mii_send(struct dc_softc *sc, u_int32_t bits, int cnt)
|
||||
dc_mii_send(struct dc_softc *sc, uint32_t bits, int cnt)
|
||||
{
|
||||
int i;
|
||||
|
||||
@ -1082,7 +1082,7 @@ dc_setfilt_21143(struct dc_softc *sc)
|
||||
{
|
||||
uint16_t eaddr[(ETHER_ADDR_LEN+1)/2];
|
||||
struct dc_desc *sframe;
|
||||
u_int32_t h, *sp;
|
||||
uint32_t h, *sp;
|
||||
struct ifmultiaddr *ifma;
|
||||
struct ifnet *ifp;
|
||||
int i;
|
||||
@ -1156,7 +1156,7 @@ dc_setfilt_admtek(struct dc_softc *sc)
|
||||
struct ifnet *ifp;
|
||||
struct ifmultiaddr *ifma;
|
||||
int h = 0;
|
||||
u_int32_t hashes[2] = { 0, 0 };
|
||||
uint32_t hashes[2] = { 0, 0 };
|
||||
|
||||
ifp = sc->dc_ifp;
|
||||
|
||||
@ -1217,7 +1217,7 @@ dc_setfilt_asix(struct dc_softc *sc)
|
||||
struct ifnet *ifp;
|
||||
struct ifmultiaddr *ifma;
|
||||
int h = 0;
|
||||
u_int32_t hashes[2] = { 0, 0 };
|
||||
uint32_t hashes[2] = { 0, 0 };
|
||||
|
||||
ifp = sc->dc_ifp;
|
||||
|
||||
@ -1287,7 +1287,7 @@ dc_setfilt_xircom(struct dc_softc *sc)
|
||||
struct ifnet *ifp;
|
||||
struct ifmultiaddr *ifma;
|
||||
struct dc_desc *sframe;
|
||||
u_int32_t h, *sp;
|
||||
uint32_t h, *sp;
|
||||
int i;
|
||||
|
||||
ifp = sc->dc_ifp;
|
||||
@ -1379,7 +1379,7 @@ static void
|
||||
dc_setcfg(struct dc_softc *sc, int media)
|
||||
{
|
||||
int i, restart = 0, watchdogreg;
|
||||
u_int32_t isr;
|
||||
uint32_t isr;
|
||||
|
||||
if (IFM_SUBTYPE(media) == IFM_NONE)
|
||||
return;
|
||||
@ -1563,8 +1563,8 @@ static const struct dc_type *
|
||||
dc_devtype(device_t dev)
|
||||
{
|
||||
const struct dc_type *t;
|
||||
u_int32_t devid;
|
||||
u_int8_t rev;
|
||||
uint32_t devid;
|
||||
uint8_t rev;
|
||||
|
||||
t = dc_devs;
|
||||
devid = pci_get_devid(dev);
|
||||
@ -1607,9 +1607,9 @@ static void
|
||||
dc_apply_fixup(struct dc_softc *sc, int media)
|
||||
{
|
||||
struct dc_mediainfo *m;
|
||||
u_int8_t *p;
|
||||
uint8_t *p;
|
||||
int i;
|
||||
u_int32_t reg;
|
||||
uint32_t reg;
|
||||
|
||||
m = sc->dc_mi;
|
||||
|
||||
@ -1668,11 +1668,11 @@ dc_decode_leaf_sia(struct dc_softc *sc, struct dc_eblock_sia *l)
|
||||
if (l->dc_sia_code & DC_SIA_CODE_EXT) {
|
||||
m->dc_gp_len = 2;
|
||||
m->dc_gp_ptr =
|
||||
(u_int8_t *)&l->dc_un.dc_sia_ext.dc_sia_gpio_ctl;
|
||||
(uint8_t *)&l->dc_un.dc_sia_ext.dc_sia_gpio_ctl;
|
||||
} else {
|
||||
m->dc_gp_len = 2;
|
||||
m->dc_gp_ptr =
|
||||
(u_int8_t *)&l->dc_un.dc_sia_noext.dc_sia_gpio_ctl;
|
||||
(uint8_t *)&l->dc_un.dc_sia_noext.dc_sia_gpio_ctl;
|
||||
}
|
||||
|
||||
m->dc_next = sc->dc_mi;
|
||||
@ -1699,7 +1699,7 @@ dc_decode_leaf_sym(struct dc_softc *sc, struct dc_eblock_sym *l)
|
||||
m->dc_media = IFM_100_TX | IFM_FDX;
|
||||
|
||||
m->dc_gp_len = 2;
|
||||
m->dc_gp_ptr = (u_int8_t *)&l->dc_sym_gpio_ctl;
|
||||
m->dc_gp_ptr = (uint8_t *)&l->dc_sym_gpio_ctl;
|
||||
|
||||
m->dc_next = sc->dc_mi;
|
||||
sc->dc_mi = m;
|
||||
@ -1712,7 +1712,7 @@ static int
|
||||
dc_decode_leaf_mii(struct dc_softc *sc, struct dc_eblock_mii *l)
|
||||
{
|
||||
struct dc_mediainfo *m;
|
||||
u_int8_t *p;
|
||||
uint8_t *p;
|
||||
|
||||
m = malloc(sizeof(struct dc_mediainfo), M_DEVBUF, M_NOWAIT | M_ZERO);
|
||||
if (m == NULL) {
|
||||
@ -1723,7 +1723,7 @@ dc_decode_leaf_mii(struct dc_softc *sc, struct dc_eblock_mii *l)
|
||||
m->dc_media = IFM_AUTO;
|
||||
m->dc_gp_len = l->dc_gpr_len;
|
||||
|
||||
p = (u_int8_t *)l;
|
||||
p = (uint8_t *)l;
|
||||
p += sizeof(struct dc_eblock_mii);
|
||||
m->dc_gp_ptr = p;
|
||||
p += 2 * l->dc_gpr_len;
|
||||
@ -2031,13 +2031,13 @@ static int
|
||||
dc_attach(device_t dev)
|
||||
{
|
||||
uint32_t eaddr[(ETHER_ADDR_LEN+3)/4];
|
||||
u_int32_t command;
|
||||
uint32_t command;
|
||||
struct dc_softc *sc;
|
||||
struct ifnet *ifp;
|
||||
struct dc_mediainfo *m;
|
||||
u_int32_t reg, revision;
|
||||
uint32_t reg, revision;
|
||||
int error, mac_offset, phy, rid, tmp;
|
||||
u_int8_t *mac;
|
||||
uint8_t *mac;
|
||||
|
||||
sc = device_get_softc(dev);
|
||||
sc->dc_dev = dev;
|
||||
@ -2724,7 +2724,7 @@ dc_pnic_rx_bug_war(struct dc_softc *sc, int idx)
|
||||
struct mbuf *m = NULL;
|
||||
unsigned char *ptr;
|
||||
int i, total_len;
|
||||
u_int32_t rxstat = 0;
|
||||
uint32_t rxstat = 0;
|
||||
|
||||
i = sc->dc_pnic_rx_bug_save;
|
||||
cur_rx = &sc->dc_ldata.dc_rx_list[idx];
|
||||
@ -2835,7 +2835,7 @@ dc_rxeof(struct dc_softc *sc)
|
||||
struct ifnet *ifp;
|
||||
struct dc_desc *cur_rx;
|
||||
int i, total_len, rx_npkts;
|
||||
u_int32_t rxstat;
|
||||
uint32_t rxstat;
|
||||
|
||||
DC_LOCK_ASSERT(sc);
|
||||
|
||||
@ -2955,7 +2955,7 @@ dc_txeof(struct dc_softc *sc)
|
||||
struct dc_desc *cur_tx;
|
||||
struct ifnet *ifp;
|
||||
int idx, setup;
|
||||
u_int32_t ctl, txstat;
|
||||
uint32_t ctl, txstat;
|
||||
|
||||
if (sc->dc_cdata.dc_tx_cnt == 0)
|
||||
return;
|
||||
@ -3063,7 +3063,7 @@ dc_tick(void *xsc)
|
||||
struct dc_softc *sc;
|
||||
struct mii_data *mii;
|
||||
struct ifnet *ifp;
|
||||
u_int32_t r;
|
||||
uint32_t r;
|
||||
|
||||
sc = xsc;
|
||||
DC_LOCK_ASSERT(sc);
|
||||
@ -3140,7 +3140,7 @@ dc_tick(void *xsc)
|
||||
static void
|
||||
dc_tx_underrun(struct dc_softc *sc)
|
||||
{
|
||||
u_int32_t isr;
|
||||
uint32_t isr;
|
||||
int i;
|
||||
|
||||
if (DC_IS_DAVICOM(sc))
|
||||
@ -3207,7 +3207,7 @@ dc_poll(struct ifnet *ifp, enum poll_cmd cmd, int count)
|
||||
dc_start_locked(ifp);
|
||||
|
||||
if (cmd == POLL_AND_CHECK_STATUS) { /* also check status register */
|
||||
u_int32_t status;
|
||||
uint32_t status;
|
||||
|
||||
status = CSR_READ_4(sc, DC_ISR);
|
||||
status &= (DC_ISR_RX_WATDOGTIMEO | DC_ISR_RX_NOBUF |
|
||||
@ -3221,7 +3221,7 @@ dc_poll(struct ifnet *ifp, enum poll_cmd cmd, int count)
|
||||
CSR_WRITE_4(sc, DC_ISR, status);
|
||||
|
||||
if (status & (DC_ISR_RX_WATDOGTIMEO | DC_ISR_RX_NOBUF)) {
|
||||
u_int32_t r = CSR_READ_4(sc, DC_FRAMESDISCARDED);
|
||||
uint32_t r = CSR_READ_4(sc, DC_FRAMESDISCARDED);
|
||||
ifp->if_ierrors += (r & 0xffff) + ((r >> 17) & 0x7ff);
|
||||
|
||||
if (dc_rx_resync(sc))
|
||||
@ -3250,7 +3250,7 @@ dc_intr(void *arg)
|
||||
{
|
||||
struct dc_softc *sc;
|
||||
struct ifnet *ifp;
|
||||
u_int32_t r, status;
|
||||
uint32_t r, status;
|
||||
int curpkts, n;
|
||||
|
||||
sc = arg;
|
||||
@ -3909,7 +3909,7 @@ dc_stop(struct dc_softc *sc)
|
||||
struct dc_list_data *ld;
|
||||
struct dc_chain_data *cd;
|
||||
int i;
|
||||
u_int32_t ctl;
|
||||
uint32_t ctl;
|
||||
|
||||
DC_LOCK_ASSERT(sc);
|
||||
|
||||
|
@ -392,10 +392,10 @@
|
||||
*/
|
||||
|
||||
struct dc_desc {
|
||||
u_int32_t dc_status;
|
||||
u_int32_t dc_ctl;
|
||||
u_int32_t dc_ptr1;
|
||||
u_int32_t dc_ptr2;
|
||||
uint32_t dc_status;
|
||||
uint32_t dc_ctl;
|
||||
uint32_t dc_ptr1;
|
||||
uint32_t dc_ptr2;
|
||||
};
|
||||
|
||||
#define dc_data dc_ptr1
|
||||
@ -502,8 +502,8 @@ struct dc_chain_data {
|
||||
struct mbuf *dc_tx_chain[DC_TX_LIST_CNT];
|
||||
bus_dmamap_t dc_rx_map[DC_RX_LIST_CNT];
|
||||
bus_dmamap_t dc_tx_map[DC_TX_LIST_CNT];
|
||||
u_int32_t *dc_sbuf;
|
||||
u_int8_t dc_pad[DC_MIN_FRAMELEN];
|
||||
uint32_t *dc_sbuf;
|
||||
uint8_t dc_pad[DC_MIN_FRAMELEN];
|
||||
int dc_tx_pkts;
|
||||
int dc_tx_first;
|
||||
int dc_tx_prod;
|
||||
@ -514,27 +514,27 @@ struct dc_chain_data {
|
||||
|
||||
struct dc_mediainfo {
|
||||
int dc_media;
|
||||
u_int8_t *dc_gp_ptr;
|
||||
u_int8_t dc_gp_len;
|
||||
u_int8_t *dc_reset_ptr;
|
||||
u_int8_t dc_reset_len;
|
||||
uint8_t *dc_gp_ptr;
|
||||
uint8_t dc_gp_len;
|
||||
uint8_t *dc_reset_ptr;
|
||||
uint8_t dc_reset_len;
|
||||
struct dc_mediainfo *dc_next;
|
||||
};
|
||||
|
||||
|
||||
struct dc_type {
|
||||
u_int32_t dc_devid;
|
||||
u_int8_t dc_minrev;
|
||||
uint32_t dc_devid;
|
||||
uint8_t dc_minrev;
|
||||
char *dc_name;
|
||||
};
|
||||
|
||||
struct dc_mii_frame {
|
||||
u_int8_t mii_stdelim;
|
||||
u_int8_t mii_opcode;
|
||||
u_int8_t mii_phyaddr;
|
||||
u_int8_t mii_regaddr;
|
||||
u_int8_t mii_turnaround;
|
||||
u_int16_t mii_data;
|
||||
uint8_t mii_stdelim;
|
||||
uint8_t mii_opcode;
|
||||
uint8_t mii_phyaddr;
|
||||
uint8_t mii_regaddr;
|
||||
uint8_t mii_turnaround;
|
||||
uint16_t mii_data;
|
||||
};
|
||||
|
||||
/*
|
||||
@ -747,19 +747,19 @@ struct dc_softc {
|
||||
struct resource *dc_res;
|
||||
const struct dc_type *dc_info; /* adapter info */
|
||||
device_t dc_miibus;
|
||||
u_int8_t dc_type;
|
||||
u_int8_t dc_pmode;
|
||||
u_int8_t dc_link;
|
||||
u_int8_t dc_cachesize;
|
||||
uint8_t dc_type;
|
||||
uint8_t dc_pmode;
|
||||
uint8_t dc_link;
|
||||
uint8_t dc_cachesize;
|
||||
int dc_romwidth;
|
||||
int dc_pnic_rx_bug_save;
|
||||
unsigned char *dc_pnic_rx_buf;
|
||||
int dc_if_flags;
|
||||
int dc_if_media;
|
||||
u_int32_t dc_flags;
|
||||
u_int32_t dc_txthresh;
|
||||
u_int32_t dc_eaddr[2];
|
||||
u_int8_t *dc_srom;
|
||||
uint32_t dc_flags;
|
||||
uint32_t dc_txthresh;
|
||||
uint32_t dc_eaddr[2];
|
||||
uint8_t *dc_srom;
|
||||
struct dc_mediainfo *dc_mi;
|
||||
struct dc_list_data dc_ldata;
|
||||
struct dc_chain_data dc_cdata;
|
||||
@ -1082,10 +1082,10 @@ struct dc_softc {
|
||||
#define DC_IB_LEAF0_OFFSET 0x1B
|
||||
|
||||
struct dc_info_leaf {
|
||||
u_int16_t dc_conntype;
|
||||
u_int8_t dc_blkcnt;
|
||||
u_int8_t dc_rsvd;
|
||||
u_int16_t dc_infoblk;
|
||||
uint16_t dc_conntype;
|
||||
uint8_t dc_blkcnt;
|
||||
uint8_t dc_rsvd;
|
||||
uint16_t dc_infoblk;
|
||||
};
|
||||
|
||||
#define DC_CTYPE_10BT 0x0000
|
||||
@ -1116,28 +1116,28 @@ struct dc_info_leaf {
|
||||
#define DC_EBLOCK_PHY_SHUTDOWN 0x0006
|
||||
|
||||
struct dc_leaf_hdr {
|
||||
u_int16_t dc_mtype;
|
||||
u_int8_t dc_mcnt;
|
||||
u_int8_t dc_rsvd;
|
||||
uint16_t dc_mtype;
|
||||
uint8_t dc_mcnt;
|
||||
uint8_t dc_rsvd;
|
||||
};
|
||||
|
||||
struct dc_eblock_hdr {
|
||||
u_int8_t dc_len;
|
||||
u_int8_t dc_type;
|
||||
uint8_t dc_len;
|
||||
uint8_t dc_type;
|
||||
};
|
||||
|
||||
struct dc_eblock_sia {
|
||||
struct dc_eblock_hdr dc_sia_hdr;
|
||||
u_int8_t dc_sia_code;
|
||||
uint8_t dc_sia_code;
|
||||
union {
|
||||
struct dc_sia_ext { /* if (dc_sia_code & DC_SIA_CODE_EXT) */
|
||||
u_int8_t dc_sia_mediaspec[6]; /* CSR13, CSR14, CSR15 */
|
||||
u_int8_t dc_sia_gpio_ctl[2];
|
||||
u_int8_t dc_sia_gpio_dat[2];
|
||||
uint8_t dc_sia_mediaspec[6]; /* CSR13, CSR14, CSR15 */
|
||||
uint8_t dc_sia_gpio_ctl[2];
|
||||
uint8_t dc_sia_gpio_dat[2];
|
||||
} dc_sia_ext;
|
||||
struct dc_sia_noext {
|
||||
u_int8_t dc_sia_gpio_ctl[2];
|
||||
u_int8_t dc_sia_gpio_dat[2];
|
||||
uint8_t dc_sia_gpio_ctl[2];
|
||||
uint8_t dc_sia_gpio_dat[2];
|
||||
} dc_sia_noext;
|
||||
} dc_un;
|
||||
};
|
||||
@ -1154,11 +1154,11 @@ struct dc_eblock_sia {
|
||||
*/
|
||||
struct dc_eblock_mii {
|
||||
struct dc_eblock_hdr dc_mii_hdr;
|
||||
u_int8_t dc_mii_phynum;
|
||||
u_int8_t dc_gpr_len;
|
||||
/* u_int16_t dc_gpr_dat[n]; */
|
||||
/* u_int8_t dc_reset_len; */
|
||||
/* u_int16_t dc_reset_dat[n]; */
|
||||
uint8_t dc_mii_phynum;
|
||||
uint8_t dc_gpr_len;
|
||||
/* uint16_t dc_gpr_dat[n]; */
|
||||
/* uint8_t dc_reset_len; */
|
||||
/* uint16_t dc_reset_dat[n]; */
|
||||
/* There are other fields after these, but we don't
|
||||
* care about them since they can be determined by looking
|
||||
* at the PHY.
|
||||
@ -1167,10 +1167,10 @@ struct dc_eblock_mii {
|
||||
|
||||
struct dc_eblock_sym {
|
||||
struct dc_eblock_hdr dc_sym_hdr;
|
||||
u_int8_t dc_sym_code;
|
||||
u_int8_t dc_sym_gpio_ctl[2];
|
||||
u_int8_t dc_sym_gpio_dat[2];
|
||||
u_int8_t dc_sym_cmd[2];
|
||||
uint8_t dc_sym_code;
|
||||
uint8_t dc_sym_gpio_ctl[2];
|
||||
uint8_t dc_sym_gpio_dat[2];
|
||||
uint8_t dc_sym_cmd[2];
|
||||
};
|
||||
|
||||
#define DC_SYM_CODE_100BT 0x03
|
||||
@ -1181,6 +1181,6 @@ struct dc_eblock_sym {
|
||||
|
||||
struct dc_eblock_reset {
|
||||
struct dc_eblock_hdr dc_reset_hdr;
|
||||
u_int8_t dc_reset_len;
|
||||
/* u_int16_t dc_reset_dat[n]; */
|
||||
uint8_t dc_reset_len;
|
||||
/* uint16_t dc_reset_dat[n]; */
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user