taglinefilesource code
OUT1232drivers/block/sbpcd.cif (fam0L_drive) OUT(CDo_command,CMD0_STATUS);
OUT1233drivers/block/sbpcd.celse if (fam1_drive) OUT(CDo_command,CMD1_STATUS);
OUT1234drivers/block/sbpcd.celse if (fam2_drive) OUT(CDo_command,CMD2_STATUS);
OUT1235drivers/block/sbpcd.cif (!fam0L_drive) for (i=0;i<6;i++) OUT(CDo_command,0);
OUT1299drivers/block/sbpcd.cOUT(CDo_sel_i_d,0);
OUT1300drivers/block/sbpcd.cOUT(CDo_enable,D_S[d].drv_sel);
OUT1312drivers/block/sbpcd.cfor (i=0;i<10;i++) OUT(CDo_command,drvcmd[i]);
OUT1318drivers/block/sbpcd.cOUT(CDo_sel_i_d,0);
OUT1323drivers/block/sbpcd.cOUT(CDo_sel_i_d,1);
OUT1356drivers/block/sbpcd.cOUT(CDo_sel_i_d,0);
OUT1414drivers/block/sbpcd.cfor (i=0;i<7;i++) OUT(CDo_command,drvcmd[i]);
OUT1421drivers/block/sbpcd.cif (sbpro_type==1) OUT(CDo_sel_i_d,1);
OUT1423drivers/block/sbpcd.cif (sbpro_type==1) OUT(CDo_sel_i_d,0);
OUT1871drivers/block/sbpcd.cif (fam0L_drive) OUT(CDo_reset,0x00);
OUT1883drivers/block/sbpcd.cOUT(CDo_reset,0x00);
OUT1887drivers/block/sbpcd.cOUT(CDo_sel_i_d,0);
OUT1888drivers/block/sbpcd.cOUT(CDo_enable,D_S[d].drv_sel);
OUT1889drivers/block/sbpcd.cOUT(CDo_command,CMDT_RESET);
OUT1890drivers/block/sbpcd.cfor (i=1;i<10;i++) OUT(CDo_command,0);
OUT3122drivers/block/sbpcd.cif (sbpro_type==1) OUT(CDo_sel_i_d,0);
OUT3124drivers/block/sbpcd.cOUT(CDo_reset,0);
OUT3126drivers/block/sbpcd.cOUT(CDo_enable,D_S[d].drv_sel);
OUT3173drivers/block/sbpcd.cif (sbpro_type==1) OUT(CDo_reset,0);
OUT3176drivers/block/sbpcd.cOUT(CDo_enable,D_S[d].drv_sel);
OUT3177drivers/block/sbpcd.cOUT(CDo_sel_i_d,0);
OUT3178drivers/block/sbpcd.cOUT(CDo_command,CMDT_RESET);
OUT3179drivers/block/sbpcd.cfor (i=0;i<9;i++) OUT(CDo_command,0);
OUT3182drivers/block/sbpcd.cOUT(CDo_enable,D_S[d].drv_sel);
OUT3183drivers/block/sbpcd.cOUT(CDo_sel_i_d,0);
OUT3297drivers/block/sbpcd.cOUT(CDo_enable,D_S[d].drv_sel);
OUT3321drivers/block/sbpcd.cOUT(port+3,j) ; /* enable drive #j */
OUT3322drivers/block/sbpcd.cOUT(port+0,CMD0_PATH_CHECK);
OUT3323drivers/block/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
OUT3338drivers/block/sbpcd.cOUT(port+0,CMD0_PATH_CHECK);
OUT3339drivers/block/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
OUT3361drivers/block/sbpcd.cOUT(port+3,j) ; /* enable drive #j */
OUT3362drivers/block/sbpcd.cOUT(port+0,CMD2_READ_VER);
OUT3363drivers/block/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
OUT3379drivers/block/sbpcd.cOUT(port+0,CMD2_READ_VER);
OUT3380drivers/block/sbpcd.cfor (i=10;i>0;i--) OUT(port+0,0);
OUT3400drivers/block/sbpcd.cOUT(port+0,save_port0);
OUT3401drivers/block/sbpcd.cOUT(port+3,save_port3);
OUT4209drivers/block/sbpcd.cfor (i=0;i<7;i++) OUT(CDo_command,drvcmd[i]);
OUT4246drivers/block/sbpcd.cif (sbpro_type==1) OUT(CDo_sel_i_d,1);
OUT4248drivers/block/sbpcd.cif (sbpro_type==1) OUT(CDo_sel_i_d,0);
OUT4547drivers/block/sbpcd.cfor (i=0;i<7;i++) OUT(CDo_command,drvcmd[i]);
OUT4548drivers/block/sbpcd.cif (famT_drive) for (i=7;i<10;i++) OUT(CDo_command,drvcmd[i]);
OUT4654drivers/block/sbpcd.cif (sbpro_type==1) OUT(CDo_sel_i_d,1);
OUT4660drivers/block/sbpcd.cif (sbpro_type==1) OUT(CDo_sel_i_d,0);
OUT4684drivers/block/sbpcd.cOUT(CDo_sel_i_d,0);
OUT4688drivers/block/sbpcd.cOUT(CDo_sel_i_d,1);
OUT4701drivers/block/sbpcd.cOUT(CDo_sel_i_d,0);
OUT5059drivers/block/sbpcd.cOUT(SPEA_REG_1,0xFF);
OUT5066drivers/block/sbpcd.cOUT(SPEA_REG_1,0x04);
OUT5067drivers/block/sbpcd.cOUT(SPEA_REG_2,0xC0);
OUT5069drivers/block/sbpcd.cOUT(SPEA_REG_1,0x05);
OUT5070drivers/block/sbpcd.cOUT(SPEA_REG_2,0x10|drq_polarity|dack_polarity);
OUT5077drivers/block/sbpcd.cOUT(SPEA_REG_1,0x06);
OUT5078drivers/block/sbpcd.cOUT(SPEA_REG_2,dma_channel|irq_number|SPEA_PATTERN);
OUT5079drivers/block/sbpcd.cOUT(SPEA_REG_2,dma_channel|irq_number|SPEA_PATTERN);
OUT5081drivers/block/sbpcd.cOUT(SPEA_REG_1,0x09);
OUT5083drivers/block/sbpcd.cOUT(SPEA_REG_2,i);
OUT5175drivers/block/sbpcd.cOUT(CDo_reset,0);
OUT5249drivers/block/sbpcd.cOUT(MIXER_addr,MIXER_CD_Volume); /* select SB Pro mixer register */
OUT5250drivers/block/sbpcd.cOUT(MIXER_data,0xCC); /* one nibble per channel, max. value: 0xFF */