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

From: Jaakko Heinonen <jh_at_FreeBSD.org>
Date: Wed, 28 Sep 2011 11:15:15 +0300
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
Received on Wed Sep 28 2011 - 06:40:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:18 UTC