diff options
author | marius <marius@FreeBSD.org> | 2010-11-23 21:09:42 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2010-11-23 21:09:42 +0000 |
commit | 7a1d0959ae6435b4a3b4a9a5908a794544b90765 (patch) | |
tree | f32117fcfdf91cc1bac5d8c8915360eb535156f7 /sys/dev/fxp/if_fxpvar.h | |
parent | 92ac246b47398d12db51baf227b3d7368011d705 (diff) | |
download | FreeBSD-src-7a1d0959ae6435b4a3b4a9a5908a794544b90765.zip FreeBSD-src-7a1d0959ae6435b4a3b4a9a5908a794544b90765.tar.gz |
- Sprinkle const on tables.
- Remove an alpha remnant.
- Minor comment and style fixes.
Diffstat (limited to 'sys/dev/fxp/if_fxpvar.h')
-rw-r--r-- | sys/dev/fxp/if_fxpvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fxp/if_fxpvar.h b/sys/dev/fxp/if_fxpvar.h index de44636..ca7f7f5 100644 --- a/sys/dev/fxp/if_fxpvar.h +++ b/sys/dev/fxp/if_fxpvar.h @@ -146,7 +146,7 @@ struct fxp_ident { uint16_t devid; int16_t revid; /* -1 matches anything */ uint8_t ich; - char *name; + const char *name; }; struct fxp_hwstats { @@ -182,7 +182,7 @@ struct fxp_softc { struct resource *fxp_res[2]; /* I/O and IRQ resources */ struct resource_spec *fxp_spec; /* the resource spec we used */ void *ih; /* interrupt handler cookie */ - struct fxp_ident *ident; + const struct fxp_ident *ident; struct mtx sc_mtx; bus_dma_tag_t fxp_txmtag; /* bus DMA tag for Tx mbufs */ bus_dma_tag_t fxp_rxmtag; /* bus DMA tag for Rx mbufs */ |