bin/160979: 9.0 burncd error caused by change to cd0 from acd0

Jaakko Heinonen jh at FreeBSD.org
Wed Sep 28 08:40:03 UTC 2011


On 2011-09-27, Craig Rodrigues wrote:
> I think we need something like the following patch.

> +#ifdef ATA_CAM
> +SYSCTL_INT(_hw_ata, OID_AUTO, ata_cam_enabled,
> +	CTLFLAG_RD, &ata_cam_enabled, 1,
> +	"ATA devices are accessed through the cam(4) driver");
> +#endif

I think that using the FEATURE() macro and feature_present(3) might be
more appropriate for this.

Thanks.
-- 
Jaakko


More information about the freebsd-current mailing list