Only enabling 16 bit PCMCIA in a FreeBSD kernel?

Hardware

A retro Xircom Ethernet PCMCIA card

As you’re probably aware by now, my current pet project is installing FreeBSD on my new (a relative term!) Libretto 70CT, and on today’s agenda is building a custom kernel with the right PCMCIA card support.

This is the part I’m concerning myself with:

# SURFIN BIRD SUPPORT
option WORD=BIRD
device BirdBirdBirdTheBirdIsTheWord

Well that’s clearly the wrong section. I’ll try again.

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device    cbb         # cardbus (yenta) bridge
device    pccard      # PC Card (16-bit) bus
device    cardbus     # CardBus (32-bit) bus

The Libretto only has 16bit PCMCIA card support which means the Cardbus line can be safely commented out, but I’m not so sure about the bridge. This machine is so… retro that I’d like to slash and burn all the device support I don’t need (USB, FireWire, SCSI, RAID, TLA…), but on the other hand I’d hate to wait for this thing to compile for an age and then no be able to use PC cards.

One of the great things about FreeBSD is how trivially easy it is to build and install a custom kernel (and world!) to remove unessisary hardware support and make the machine boot faster, run faster, use less memory and potentially be more secure. Or perhaps it just seems really easy after doing it on certain other free operating systems ;).

Beastie!

The hardware itself

The other thing to think about is what kind of networking card I can actually use with this machine! I have plenty of 16bit 10/100 PCMCIA cards back home in Singapore that I inherited from my dad’s numerous dead computers which all work fine (maybe), but I’m assuming I won’t be able to get a 16bit non-Cardbus Gigabit Ethernet card, or a 16-bit 802.11g wireless card that supports WPA encryption. Just a hunch.

One thing that piqued my interest though was this line from the kernel confiuguration file:

# SURFIN BIRD SUPPORT
option WORD=BIRD
device BirdBirdBirdTheBirdIsTheWord

Hey, HEY, stop messing with me!

# Parallel port
device    ppc
[…]
device    plip # TCP/IP over parallel

I can only imagine that’d be insanely slow, but it sounds so cool I might need to look into it. The Libretto has an adorable little docking cradle which has a parallel port, if I could use that and leave the only PCMCIA slot for something else, that’d be pretty schweet. And in retrospect it wouldn’t need to be that fast anyway for the things I’ll be using this machine for. I don’t even intend to SSH into it!

Author bio and support

Me!

Ruben Schade is a technical writer and infrastructure architect in Sydney, Australia who refers to himself in the third person. Hi!

The site is powered by Hugo, FreeBSD, and OpenZFS on OrionVM, everyone’s favourite bespoke cloud infrastructure provider.

If you found this post helpful or entertaining, you can shout me a coffee or send a comment. Thanks ☺️.