diff options
author | ticso <ticso@FreeBSD.org> | 2003-06-13 22:34:03 +0000 |
---|---|---|
committer | ticso <ticso@FreeBSD.org> | 2003-06-13 22:34:03 +0000 |
commit | 12af6656a2eb254f0378ee634422acc846868f5b (patch) | |
tree | 0abf43b8a27d693f26eb203489d2a1800ff47ea1 /sys/dev/de/if_devar.h | |
parent | baa705794e637c095aba62373f694cbe56dc57bd (diff) | |
download | FreeBSD-src-12af6656a2eb254f0378ee634422acc846868f5b.zip FreeBSD-src-12af6656a2eb254f0378ee634422acc846868f5b.tar.gz |
Fix alignment requirements of tulip_rombuf by further increasing
tulip_boardid size.
Add a comment to tulip_rombuf about this requirement.
I have had panics on alpha while probing a de card.
Diffstat (limited to 'sys/dev/de/if_devar.h')
-rw-r--r-- | sys/dev/de/if_devar.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/de/if_devar.h b/sys/dev/de/if_devar.h index 39ee922..13d2357 100644 --- a/sys/dev/de/if_devar.h +++ b/sys/dev/de/if_devar.h @@ -609,10 +609,10 @@ struct _tulip_softc_t { */ u_int32_t tulip_setupbuf[192/sizeof(u_int32_t)]; u_int32_t tulip_setupdata[192/sizeof(u_int32_t)]; - char tulip_boardid[17]; /* buffer for board ID */ - u_int8_t tulip_rombuf[128]; - u_int8_t tulip_pci_busno; /* needed for multiport boards */ - u_int8_t tulip_pci_devno; /* needed for multiport boards */ + char tulip_boardid[24]; /* buffer for board ID */ + u_int8_t tulip_rombuf[128]; /* must be aligned */ + u_int8_t tulip_pci_busno; /* needed for multiport boards */ + u_int8_t tulip_pci_devno; /* needed for multiport boards */ u_int8_t tulip_connidx; tulip_srom_connection_t tulip_conntype; tulip_desc_t *tulip_rxdescs; |