Subject: Re: Multiple values for locators
To: None <mycroft@gnu.ai.mit.edu>
From: John Kohl <jtk@kolvir.arlington-heights.ma.us>
List: tech-kern
Date: 03/25/1997 19:21:19
>>>>> "CH" == Charles M Hannum <mycroft@gnu.ai.mit.edu> writes:

CH> * Extend the attribute definition syntax to allow multiple
CH> initializers.  e.g.:

CH> device  isa {[port = -1,-1,-1,-1], [size = 0,0,0,0],
CH>              [iomem = -1,-1,-1,-1], [iosiz = 0,0,0,0],
CH>              [irq = -1,-1], [drq = -1,-1]}


CH> So, does anyone have a reasonable objection to the above?

Not an objection, but a couple questions:

(a) what would you do with FOOCF_LOCNAME_DEFAULT?  set it to 0,0,0,0?
    Or define several of them (one for each position)?

CH> wdc0 at isa? port 0x1f0,0x3f6 irq 14

Presumably this should also "size 8,1" for the two port ranges?  [This
is a peeve of mine; most of the ISA drivers could/should have a size
locator, and the 0x666 crock in isa.c can go away.]

==John