> Do a search in sys/dev/ic for 'adapt_dev', any driver that casts this
> to a softc instead of calling device_private() will crash.

struct device * and device_t are identical, so they won't crash
unless softc will actuall be split from device_t.

But I don't see benefits by mechanical changes against device_t
(and device_xname()) before actual softc/device_t split.

IMO, it's better to update them per drivers, to catch quirks.
---
Izumi Tsutsui

Reply via email to