Linux 2.4.21-pre7 - hpt366.c does not build
It may need something like this, I think
(from my archives, doesn't have to apply
cleanly but you get the idea).
=== hpt372n-pci_ids.patch ===
include/linux/pci_ids.h renamed from include/linux/pci_ids.h.orig +1 -0
@@ -975,6 +975,7 @@#define PCI_DEVICE_ID_TTI_HPT372 0x0005#define PCI_DEVICE_ID_TTI_HPT302 0x0006#define PCI_DEVICE_ID_TTI_HPT371 0x0007 +#define PCI_DEVICE_ID_TTI_HPT372N 0x0009#define PCI_DEVICE_ID_TTI_HPT374 0x0008#define PCI_VENDOR_ID_VIA 0x1106