diff options
author | imp <imp@FreeBSD.org> | 2003-11-13 04:14:53 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-11-13 04:14:53 +0000 |
commit | 5b063056ef8df203c8644511c37b7357c648261a (patch) | |
tree | da97c71b01d09aba67aff36769bad54d3610b915 /sys/dev/aha/ahareg.h | |
parent | 0dcebbc29a61720f353976f905620c9e8f64401d (diff) | |
download | FreeBSD-src-5b063056ef8df203c8644511c37b7357c648261a.zip FreeBSD-src-5b063056ef8df203c8644511c37b7357c648261a.tar.gz |
Save the device so we can do a device_printf.
Use this in preference to aha_name.
Remove aha_name function and #define it to device_get_unitname()
Minor indentation tweaks resulting therefrom
Diffstat (limited to 'sys/dev/aha/ahareg.h')
-rw-r--r-- | sys/dev/aha/ahareg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/aha/ahareg.h b/sys/dev/aha/ahareg.h index a03708d..c64d8ea 100644 --- a/sys/dev/aha/ahareg.h +++ b/sys/dev/aha/ahareg.h @@ -396,6 +396,7 @@ struct aha_softc { struct resource *drq; int drqrid; void **ih; + device_t dev; }; void aha_alloc(struct aha_softc *, int, bus_space_tag_t, bus_space_handle_t); @@ -409,7 +410,6 @@ void aha_free(struct aha_softc *); int aha_init(struct aha_softc *); void aha_intr(void *); int aha_iop_from_bio(isa_compat_io_t); -char *aha_name(struct aha_softc *); int aha_probe(struct aha_softc *); #define DEFAULT_CMD_TIMEOUT 10000 /* 1 sec */ |