ppb_set_mode
ppb_set_mode(bus, PPB_COMPATIBLE);
ppb_set_mode(bus, PPB_BYTE);
ppb_set_mode(bus, PPB_COMPATIBLE);
ppb_set_mode(bus, PPB_COMPATIBLE);
ppb_set_mode(bus, mode);
ppb_set_mode(bus, PPB_COMPATIBLE);
ppb_set_mode(bus,val);
ppb_set_mode(bus, ppbdev->ctx.mode);
extern int ppb_set_mode(device_t, int); /* returns old mode */
if (ppb_set_mode(ppbus, PPB_EPP) != -1) {
if (ppb_set_mode(ppbus, PPB_PS2) != -1) {
if (ppb_set_mode(ppbus, PPB_NIBBLE) != -1) {
if (ppb_set_mode(ppbus, PPB_EPP) != -1) {
if (ppb_set_mode(ppbus, PPB_PS2) != -1) {
if (ppb_set_mode(ppbus, PPB_NIBBLE) == -1)
ppb_set_mode(ppbus, PPB_COMPATIBLE);
ppb_set_mode(ppbus, PPB_COMPATIBLE);
ppb_set_mode(ppbus, PPB_COMPATIBLE);