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:
parent
d87fe3ee1e
commit
43882d2992
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user