Correctly export the size of our softc to newbus in our EISA attachement.

This avoids a panic upon first softc field reference.
This commit is contained in:
gibbs 2004-08-11 20:35:55 +00:00
parent d87fe3ee1e
commit 43882d2992

View File

@ -183,7 +183,7 @@ static device_method_t vx_eisa_methods[] = {
static driver_t vx_eisa_driver = {
"vx",
vx_eisa_methods,
1, /* unused */
sizeof(struct vx_softc)
};
static devclass_t vx_devclass;