RC(4)
π RC(4) β the RISCom/8 multiport card, bestie edition π
okay so this is RC(4) from the Kernel Interfaces Manual, and babes, it's giving vintage hardware realness. it's a whole driver page, so grab a lil snack π and let's get into it.
β¨ NAME β¨
rc β the RISCom/8 multiport card, no cap π«Ά
πΈ SYNOPSIS πΈ
device isa
device rc
like, that's it. that's the whole vibe. so simple, so iconic β¨
π¦ DESCRIPTION π¦
so the RISCom/8 is an eight port ISA RS-232C communications multiplexer with a built in RISC processor. yes queen, a whole RISC processor living on your serial card, main character energy fr fr π
it uses a block of sixteen I/O ports in the range 0x200 to 0x3f0, and you pick where that block lives with the on-board switches or jumpers. important: the block must be aligned on a sixteen port boundary. like, it's not optional, the alignment is the moment π
the jumper-selectable hardware interrupt level may be set to be detected during system initialization using settings found in the /boot/device.hints file. so go peek in there, iykyk π
also this driver is mostly based on the Cirrus Logic CL-CD180 driver. shoutout to the ancestor, we stan a lineage π
π HARDWARE π
the rc driver provides support for the SDL Communications RISCom/8 boards. that's the whole hardware list, and honestly? she knows what she supports and she's not pretending otherwise π
π DIAGNOSTICS π
the following driver specific error messages may be reported, and bestie, if you see one of these, something is lowkey going through it:
rc%d channel%d: interrupt-level buffer overflowβ an internal buffer overflow error has occurred on the listed channel. to correct this, thercdriver will need to be reloaded. yeah, it's a whole reload situation, no shortcuts π«rc%d: Bad char chan %dβ the channel has obtained a bad set of characters. not a vibe.rc%d: Got extra chars chan %dβ thercdriver got more characters than expected on the channel shown. greedy lil channel πrc%d: data mismatch chan %d ptr %d (%d != %d)β data sent from channel%dto the rx buffer was different then expected. the numbers in the parens are literally telling you they don't match. the math is not mathing.rc%d: channel %d command timeout, rc.c line: %dβ a command timeout has occurred on the channel. you can consult thesrc/sys/dev/rc/rc.cfile for more information. so if you wanna go read source at 3am, the door is open π
π SEE ALSO π
and also, the link, fr:
β HISTORY β
the rc driver first appeared in FreeBSD 2.0.5. this manual page first appeared in FreeBSD 5.3. a legacy icon, honestly π
π AUTHORS π
this manual page was written by Tom Rhodes <trhodes@FreeBSD.org>. thank you for your service, king π«Ά
π BUGS π
okay so this is the part where we keep it real:
- the
rcdriver code still uses thespl(9)functions. these should be replaced bymutex(9)functions. so like, it's the old way, and the old way is still in there, no cap. - the various
ttyld_*()functions should be documented. bestie they are just. out here. undocumented. we're waiting β¨
not me finishing a whole manpage and still wanting to say one more thing π
and that's the page!! ππ this lil beauty came from Debian, dated March 18, 2005 β so yeah, she's an elder, she's been through things, and she still slays. periodt. ππ¦
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2004 Tom Rhodes
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms