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-unsubscr...@freebsd.org"

Reply via email to