On Oct-11, Melvin Smith wrote: > At 09:19 AM 10/11/2003 -0700, Steve Fink wrote: > >On Oct-10, Melvin Smith wrote: > >> At 08:31 AM 10/10/2003 -0400, Dan Sugalski wrote: > >> > > >> >I think it's time to start thinking about it. (And I think we need a new > >> >name, but that's because I've always hated 'ioctl' :) > >> > >> :) > >> > >> I also considered iocmd, ioattr and ioset. > >> > >> IPop your favorite into the suggestion box... > > > >How about keyed access to the IO PMC? > > > > set I0, P0[.CMDGETBUFSIZE] > > set P0[.CMDSETBUFSIZE], I0 > > I like that. > > Actually it could look even simpler since we have separate setkeyed > and getkeyed support: > > set IO, P0[.BUFSIZE] > set P0[.BUFSIZE], 8192
Actually, looking at that suggests that perhaps this should be done through the setprop/getprop interface instead, since that seems like a closer semantic fit to what you're doing.