- add a type field to the isapnp_pin struct and set to IST_EDGE or IST_LEVEL depending on the card configuration data. - use the irq type field in all the drivers instead of hardcoding it.