Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/dev
> On Nov 5, 2014, at 6:09 PM, Masao Uebayashi <uebayasi%gmail.com@localhost> wrote:
>
> On Thu, Nov 6, 2014 at 4:03 AM, Taylor R Campbell
> <campbell+netbsd-source-changes-d%mumble.net@localhost> wrote:
>> Why use a string-keyed table with run-time lookups instead of a C
>> object with a C declaration?
>>
>> /* ioconf.h */
>> extern struct cfiattrdata xxxbus;
>>
>> /* xxx.c */
>> config_found(self, &xxxbus);
>
> I tend to prefer indirect lookup to direct reference almost everywhere
> in config(9). But in this case reference would be fine.
Move this to tech-kern.
Home |
Main Index |
Thread Index |
Old Index