Re: bin/160979: 9.0 burncd error caused by change to cd0 from ac
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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 15 之 17 篇):