by dfox · 7y ago · 0 comments
https://github.com/torvalds/linux/blob/master/drivers/net/et...
Magic numbers and timing without explanation why. Rarely used technical descriptions such as "Lance mode". Tons of unchecked assertions on lock when kernel provides a lockdep check for this. Custom logging macros. Flies in the face of kernel "goto error" error handling convention in a few places. XXX with obvious bugs mentioned, unfixed.
And more...
Splitting it into more files wouldn't help at all.