Gilbert Carl Herschberger II wrote:
> If I have a Modem interface called jos.device.Modem, I can "open" a
> connection to my modem with a URI like this:
>
> bcni:jos.device.Modem?port=0
I don't really like the scheme, because it is not the normal way a URI
works. The above URI actually does not point to a device, but merely
informs how to search for a device.
The above URI could *point* to a modem device like this:
for the serial port 1,
bnci:modem://localhost/serial/1/
or
bnci:modem://localhost/pci/0F4/
if the modem is internal on the PCI bus...
> device:Modem?port=0
The parameter indicator question mark ('?') should, IMHO, be used for
parametric information only, such as:
bnci:modem://localhost/serial/1/?maxspeed=57600&parity=none
> device:ParallelPort?port=0
Again, this could be like:
device://localhost/devices/ports/parallel/0/?bidirectorial=true
for isntance...
--
"Learn from others' mistakes, for you won't live long
enough to make them all yourself..."
________________________________________________________________________
[EMAIL: mailto:[EMAIL PROTECTED]] [URL: http://www.outworld.org/people/al]
[TEL1: (30) +31 422392] [TEL2: (30) +31 428154] [CELL: (30) +937 110247]
[ADDRESS: 14 Argonafton St., Kalamaria, 551 31, Thessaloniki, Greece GR]
PLEASE DO NOT SEND ME ANY UNSOLICITED COMMERCIAL EMAIL [DSS: 0xDBEF8ECC]
_______________________________________________
Kernel maillist - [EMAIL PROTECTED]
http://jos.org/mailman/listinfo/kernel