aha appears to be broken in 3.1 but was fixed post-3.1. You can probably just grab sys/dev/isa/aha.c and sys/dev/isa/ahareg.h from -current and drop them into a 3.1 source tree. - todd