Page MenuHomeFreeBSD

share: Delete bitrotted make_*_driver.sh scripts
ClosedPublic

Authored by jrtc27 on May 22 2025, 4:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 9, 11:36 PM
Unknown Object (File)
Thu, Oct 9, 3:36 AM
Unknown Object (File)
Mon, Oct 6, 12:41 AM
Unknown Object (File)
Sun, Sep 21, 2:02 PM
Unknown Object (File)
Fri, Sep 19, 9:22 AM
Unknown Object (File)
Sep 7 2025, 1:49 PM
Unknown Object (File)
Sep 4 2025, 5:42 AM
Unknown Object (File)
Aug 31 2025, 2:01 AM
Subscribers

Details

Summary

These scripts have not seen the necessary changes to keep them up to
date with current KPIs and coding practices. They use I/O ports directly
rather than any bus abstractions, use i386 (which is on the way out for
kernel configs) as the architecture of choice for generated kernel
configs, use ISA KPIs, use INTR_TYPE_FAST (renamed in 2000 to INTR_FAST
and removed in 2011), and likely have other issues too that render them
more harm than good for the uninitiated developer looking for a driver
template. If anyone wants to invest time in modernising them they can do
so and bring them back, but for now delete them.

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jrtc27 created this revision.
This revision is now accepted and ready to land.May 22 2025, 4:55 PM
emaste requested changes to this revision.May 22 2025, 5:01 PM
emaste added a subscriber: emaste.

Need ObsoleteFiles.inc update as well

This revision now requires changes to proceed.May 22 2025, 5:01 PM

Oh right yes these are actually-installed files (even more ugh), not something in tools/, so need to be unhooked from the build too. One moment...

Unhook from build and clean up

This revision is now accepted and ready to land.May 22 2025, 5:19 PM

yea, this is at least 15 years bit-rotted at this point