taglinefilesource code
OUT3265drivers/block/floppy.cOUT(FDGETMAXERRS, &UDP->max_errors);
OUT3274drivers/block/floppy.cOUT(FDGETDRVPRM, UDP);
OUT3281drivers/block/floppy.cOUT(FDGETDRVSTAT, UDRS);
OUT3286drivers/block/floppy.cOUT(FDGETFDCSTAT,UFDCS);
OUT3291drivers/block/floppy.cOUT(FDWERRORGET,UDRWE);
OUT1150drivers/cdrom/sbpcd.cif (fam0LV_drive) OUT(CDo_command,CMD0_STATUS);
OUT1151drivers/cdrom/sbpcd.celse if (fam1_drive) OUT(CDo_command,CMD1_STATUS);
OUT1152drivers/cdrom/sbpcd.celse if (fam2_drive) OUT(CDo_command,CMD2_STATUS);
OUT1153drivers/cdrom/sbpcd.cif (!fam0LV_drive) for (i=0;i<6;i++) OUT(CDo_command,0);
OUT1217drivers/cdrom/sbpcd.cOUT(CDo_sel_i_d,0);
OUT1218drivers/cdrom/sbpcd.cOUT(CDo_enable,D_S[d].drv_sel);
OUT1230drivers/cdrom/sbpcd.cfor (i=0;i<10;i++) OUT(CDo_command,drvcmd[i]);
OUT1236drivers/cdrom/sbpcd.cOUT(CDo_sel_i_d,0);
OUT1241drivers/cdrom/sbpcd.cOUT(CDo_sel_i_d,1);
OUT1274drivers/cdrom/sbpcd.cOUT(CDo_sel_i_d,0);
OUT1332drivers/cdrom/sbpcd.cfor (i=0;i<7;i++) OUT(CDo_command,drvcmd[i]);
OUT1339drivers/cdrom/sbpcd.cif (sbpro_type==1) OUT(CDo_sel_i_d,1);
OUT1341drivers/cdrom/sbpcd.cif (sbpro_type==1) OUT(CDo_sel_i_d,0);
OUT1802drivers/cdrom/sbpcd.cif (fam0LV_drive) OUT(CDo_reset,0x00);
OUT1814drivers/cdrom/sbpcd.cOUT(CDo_reset,0x00);
OUT1818drivers/cdrom/sbpcd.cOUT(CDo_sel_i_d,0);
OUT1819drivers/cdrom/sbpcd.cOUT(CDo_enable,D_S[d].drv_sel);
OUT1820drivers/cdrom/sbpcd.cOUT(CDo_command,CMDT_RESET);
OUT1821drivers/cdrom/sbpcd.cfor (i=1;i<10;i++) OUT(CDo_command,0);
OUT3088drivers/cdrom/sbpcd.cif (sbpro_type==1) OUT(CDo_sel_i_d,0);
OUT3090drivers/cdrom/sbpcd.cOUT(CDo_reset,0);
OUT3092drivers/cdrom/sbpcd.cOUT(CDo_enable,D_S[d].drv_sel);
OUT3139drivers/cdrom/sbpcd.cif (sbpro_type==1) OUT(CDo_reset,0);
OUT3142drivers/cdrom/sbpcd.cOUT(CDo_enable,D_S[d].drv_sel);
OUT3143drivers/cdrom/sbpcd.cOUT(CDo_sel_i_d,0);
OUT3144drivers/cdrom/sbpcd.cOUT(CDo_command,CMDT_RESET);
OUT3145drivers/cdrom/sbpcd.cfor (i=0;i<9;i++) OUT(CDo_command,0);
OUT3148drivers/cdrom/sbpcd.cOUT(CDo_enable,D_S[d].drv_sel);
OUT3149drivers/cdrom/sbpcd.cOUT(CDo_sel_i_d,0);
OUT3276drivers/cdrom/sbpcd.cOUT(CDo_enable,D_S[d].drv_sel);
OUT3300drivers/cdrom/sbpcd.cOUT(port+3,j) ; /* enable drive #j */
OUT3301drivers/cdrom/sbpcd.cOUT(port+0,CMD0_PATH_CHECK);
OUT3302drivers/cdrom/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
OUT3317drivers/cdrom/sbpcd.cOUT(port+0,CMD0_PATH_CHECK);
OUT3318drivers/cdrom/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
OUT3340drivers/cdrom/sbpcd.cOUT(port+3,j) ; /* enable drive #j */
OUT3341drivers/cdrom/sbpcd.cOUT(port+0,CMD2_READ_VER);
OUT3342drivers/cdrom/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
OUT3358drivers/cdrom/sbpcd.cOUT(port+0,CMD2_READ_VER);
OUT3359drivers/cdrom/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
OUT3379drivers/cdrom/sbpcd.cOUT(port+0,save_port0);
OUT3380drivers/cdrom/sbpcd.cOUT(port+3,save_port3);
OUT4193drivers/cdrom/sbpcd.cfor (i=0;i<7;i++) OUT(CDo_command,drvcmd[i]);
OUT4230drivers/cdrom/sbpcd.cif (sbpro_type==1) OUT(CDo_sel_i_d,1);
OUT4232drivers/cdrom/sbpcd.cif (sbpro_type==1) OUT(CDo_sel_i_d,0);
OUT4549drivers/cdrom/sbpcd.cfor (i=0;i<7;i++) OUT(CDo_command,drvcmd[i]);
OUT4550drivers/cdrom/sbpcd.cif (famT_drive) for (i=7;i<10;i++) OUT(CDo_command,drvcmd[i]);
OUT4655drivers/cdrom/sbpcd.cif (sbpro_type==1) OUT(CDo_sel_i_d,1);
OUT4660drivers/cdrom/sbpcd.cif (sbpro_type==1) OUT(CDo_sel_i_d,0);
OUT4684drivers/cdrom/sbpcd.cOUT(CDo_sel_i_d,0);
OUT4688drivers/cdrom/sbpcd.cOUT(CDo_sel_i_d,1);
OUT4701drivers/cdrom/sbpcd.cOUT(CDo_sel_i_d,0);
OUT5064drivers/cdrom/sbpcd.cOUT(SPEA_REG_1,0xFF);
OUT5071drivers/cdrom/sbpcd.cOUT(SPEA_REG_1,0x04);
OUT5072drivers/cdrom/sbpcd.cOUT(SPEA_REG_2,0xC0);
OUT5074drivers/cdrom/sbpcd.cOUT(SPEA_REG_1,0x05);
OUT5075drivers/cdrom/sbpcd.cOUT(SPEA_REG_2,0x10|drq_polarity|dack_polarity);
OUT5082drivers/cdrom/sbpcd.cOUT(SPEA_REG_1,0x06);
OUT5083drivers/cdrom/sbpcd.cOUT(SPEA_REG_2,dma_channel|irq_number|SPEA_PATTERN);
OUT5084drivers/cdrom/sbpcd.cOUT(SPEA_REG_2,dma_channel|irq_number|SPEA_PATTERN);
OUT5086drivers/cdrom/sbpcd.cOUT(SPEA_REG_1,0x09);
OUT5088drivers/cdrom/sbpcd.cOUT(SPEA_REG_2,i);
OUT5181drivers/cdrom/sbpcd.cOUT(CDo_reset,0);
OUT5252drivers/cdrom/sbpcd.cOUT(MIXER_addr,MIXER_CD_Volume); /* select SB Pro mixer register */
OUT5253drivers/cdrom/sbpcd.cOUT(MIXER_data,0xCC); /* one nibble per channel, max. value: 0xFF */