Date: Fri, 12 Sep 2003 08:23:01 -0700 From: Sam Leffler <sam@errno.com> To: "M. Warner Losh" <imp@bsdimp.com>, jhb@freebsd.org Cc: arch@freebsd.org Subject: Re: When to burn those bridges Message-ID: <979999.1063354981@[10.0.3.253]> In-Reply-To: <20030912.013911.13774129.imp@bsdimp.com> References: <20030911.153929.44983352.imp@bsdimp.com> <XFMail.20030912013027.jhb@FreeBSD.org> <20030912.013911.13774129.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> yea, but that's a bit of a pathological case. first, rl/re attach to > a specific driver, and not override. So maybe we could mandate that > drivers that are generic and return negative return values should be > constrained to only look at the plug and play info and are not allowed > to look at resources. owi/wi is the only pair that does this > evilness. Magic return values are evil; better to use longer-lasting state like flags associated with the driver. Sam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?979999.1063354981>