| From | Sent On | Attachments |
|---|---|---|
| Jt | May 16, 1998 10:50 am | |
| Greg Lehey | May 16, 1998 6:04 pm | |
| Julian Elischer | May 16, 1998 8:03 pm | |
| Jt | May 17, 1998 3:48 am | |
| Jt | May 17, 1998 7:30 am | |
| Jt | May 17, 1998 7:37 am | |
| Randy A. Katz | May 17, 1998 8:34 am | |
| Hans Huebner | May 17, 1998 10:27 am | |
| Julian Elischer | May 17, 1998 10:38 am | |
| Julian Elischer | May 17, 1998 10:39 am | |
| John Kelly | May 17, 1998 11:09 am | |
| Jt | May 17, 1998 12:37 pm | |
| John Kelly | May 17, 1998 1:01 pm | |
| J.A. Terranson | May 17, 1998 2:28 pm | |
| Greg Lehey | May 17, 1998 6:02 pm | |
| Jt | May 18, 1998 2:19 am | |
| Jt | May 18, 1998 3:07 am | |
| John Kelly | May 18, 1998 4:32 pm |
| Subject: | Re: sio driver | |
|---|---|---|
| From: | John Kelly (ja...@cetlink.net) | |
| Date: | May 17, 1998 1:01:01 pm | |
| List: | org.freebsd.freebsd-questions | |
On Sun, 17 May 1998 10:38:09 -0400 (EDT), Jt <home...@techpower.net> wrote:
Yes could I see your kernel config file on how you change the fifo buffer?
Here it is:
options "COM_MULTIPORT" device sio0 at isa? port 0x100 tty flags 0x18000085 irq 9 vector siointr device sio1 at isa? port 0x108 tty flags 0x18000085 device sio2 at isa? port 0x110 tty flags 0x18000085 device sio3 at isa? port 0x118 tty flags 0x18000085 ^^
Notice the (hex) 18 above. It says use a transmit FIFO size of 24 bytes. Be sure to specify a size less than or equal the actual UART transmit FIFO size.
I chose 24 because I had planned on poking the EFR to set the transmit FIFO trigger level to 8, and in that case I would always be safe in loading 24 (8 + 24 = 32 maximum size) bytes into the UART.
I've not done that yet, so my 650 UART still runs in 550 compatibility mode where the transmit interrupt occurs when the transmit FIFO goes empty (rather than with 8 bytes remaining to transmit). The motive for using a transmit trigger level greater that zero is avoidance of transmit underruns, but I don't really know if it will make a measurable performance difference with SIO or not.
So if you run your 650 UART in 550 compatibility mode, you could use the full 32 bytes transmit FIFO instead of only 24 as I have done.
I am running stable I wonder if this option is available in the 2.2.6 release?
I don't think so. But you can download the -current 980515 SNAP from current.FreeBSD.org. It seems about as "stable" as they ever get. Takes about 6 - 8 hours on a 28.8 modem, plus a few more hours for X if you want that too.
To Unsubscribe: send mail to majo...@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message





