#ifndef __PPBUS_IO_H
#define __PPBUS_IO_H
#define PPBUS_OUTSB_EPP 1
#define PPBUS_OUTSW_EPP 2
#define PPBUS_OUTSL_EPP 3
#define PPBUS_INSB_EPP 4
#define PPBUS_INSW_EPP 5
#define PPBUS_INSL_EPP 6
#define PPBUS_RDTR 7
#define PPBUS_RSTR 8
#define PPBUS_RCTR 9
#define PPBUS_REPP_A 10
#define PPBUS_REPP_D 11
#define PPBUS_RECR 12
#define PPBUS_RFIFO 13
#define PPBUS_WDTR 14
#define PPBUS_WSTR 15
#define PPBUS_WCTR 16
#define PPBUS_WEPP_A 17
#define PPBUS_WEPP_D 18
#define PPBUS_WECR 19
#define PPBUS_WFIFO 20
#define ppbus_outsb_epp(dev,buf,cnt) \
ppbus_io((dev), PPBUS_OUTSB_EPP, (buf), (cnt), 0)
#define ppbus_outsw_epp(dev,buf,cnt) \
ppbus_io((dev), PPBUS_OUTSW_EPP, (buf), (cnt), 0)
#define ppbus_outsl_epp(dev,buf,cnt) \
ppbus_io((dev), PPBUS_OUTSL_EPP, (buf), (cnt), 0)
#define ppbus_insb_epp(dev,buf,cnt) \
ppbus_io((dev), PPBUS_INSB_EPP, (buf), (cnt), 0)
#define ppbus_insw_epp(dev,buf,cnt) \
ppbus_io(( dev), PPBUS_INSW_EPP, (buf), (cnt), 0)
#define ppbus_insl_epp(dev,buf,cnt) \
ppbus_io((dev), PPBUS_INSL_EPP, (buf), (cnt), 0))
#define ppbus_repp_A(dev) \
ppbus_io((dev), PPBUS_REPP_A, NULL, 0, 0)
#define ppbus_repp_D(dev) \
ppbus_io((dev), PPBUS_REPP_D, NULL, 0, 0)
#define ppbus_recr(dev) \
ppbus_io((dev), PPBUS_RECR, NULL, 0, 0)
#define ppbus_rfifo(dev) \
ppbus_io((dev), PPBUS_RFIFO, NULL, 0, 0)
#define ppbus_wepp_A(dev,byte) \
ppbus_io((dev), PPBUS_WEPP_A, NULL, 0, (byte))
#define ppbus_wepp_D(dev,byte) \
ppbus_io((dev), PPBUS_WEPP_D, NULL, 0, (byte))
#define ppbus_wecr(dev,byte) \
ppbus_io((dev), PPBUS_WECR, NULL, 0, (byte))
#define ppbus_wfifo(dev,byte) \
ppbus_io((dev), PPBUS_WFIFO, NULL, 0, (byte))
#define ppbus_rdtr(dev) \
ppbus_io((dev), PPBUS_RDTR, NULL, 0, 0)
#define ppbus_rstr(dev) \
ppbus_io((dev), PPBUS_RSTR, NULL, 0, 0)
#define ppbus_rctr(dev) \
ppbus_io((dev), PPBUS_RCTR, NULL, 0, 0)
#define ppbus_wdtr(dev,byte) \
ppbus_io((dev), PPBUS_WDTR, NULL, 0, (byte))
#define ppbus_wstr(dev,byte) \
ppbus_io((dev), PPBUS_WSTR, NULL, 0, (byte))
#define ppbus_wctr(dev,byte) \
ppbus_io((dev), PPBUS_WCTR, NULL, 0, (byte))
#endif