Subject: Re: Multiple values for locators
To: None <mycroft@gnu.ai.mit.edu>
From: Gordon W. Ross <gwr@mc.com>
List: tech-kern
Date: 03/25/1997 17:34:34
> From: mycroft@gnu.ai.mit.edu (Charles M. Hannum)
> Date: 25 Mar 1997 17:26:36 -0500

> I have a severe need to express multiple values for a locator for
> indirect devices.  e.g.  I need to be able to do:
> 
> sb0 at isa? port 0x220 irq 1 drq 1,5
> gus0 at isa? port 0x300 irq 1 drq 5,7
> 
> Right now, where this is done at all, it's typically done via some
> hack involving the `flags' field.

Would it be easier to use a "mask" instead?  i.e.:

sb0  at isa? port 0x220 irq 1 drqs 0x22	# 1,5
gus0 at isa? port 0x300 irq 1 drqs 0xA0 # 5,7

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

Note, I'm not objecting; just offering another idea.
Use it or not as you like.

Gordon