1 #ifndef __P2SB_H__ 2 #define __P2SB_H__ 3 4 void p2sb_lock(device_t dev); 5 void p2sb_unlock(device_t dev); 6 7 uint32_t p2sb_port_read_4(device_t dev, uint8_t port, uint32_t reg); 8 void p2sb_port_write_4(device_t dev, uint8_t port, uint32_t reg, uint32_t val); 9 int p2sb_get_port(device_t dev, int unit); 10 11 #endif /* __P2SB_H__ */ 12