• Home
  • Raw
  • Download

Lines Matching +full:0 +full:xdc000

289                         (cmd) ? ((cmd)->device->id & 0x0f) : -1, \
290 (cmd) ? ((u8)(cmd)->device->lun & 0x07) : -1
301 #define IRQ_MIN 0
313 not_issued = 0x0001, /* command not yet issued */
314 selecting = 0x0002, /* target is being selected */
315 identified = 0x0004, /* IDENTIFY was sent */
316 disconnected = 0x0008, /* target disconnected */
317 completed = 0x0010, /* target sent COMMAND COMPLETE */
318 aborted = 0x0020, /* ABORT was sent */
319 resetted = 0x0040, /* BUS DEVICE RESET was sent */
320 spiordy = 0x0080, /* waiting for SPIORDY to raise */
321 syncneg = 0x0100, /* synchronous negotiation in progress */
322 aborting = 0x0200, /* ABORT is pending */
323 resetting = 0x0400, /* BUS DEVICE RESET is pending */
324 check_condition = 0x0800, /* requesting sense after CHECK CONDITION */
333 static int io[] = {0, 0};
334 module_param_hw_array(io, int, ioport, NULL, 0);
337 static int irq[] = {0, 0};
338 module_param_hw_array(irq, int, irq, NULL, 0);
342 module_param_array(scsiid, int, NULL, 0);
346 module_param_array(reconnect, int, NULL, 0);
350 module_param_array(parity, int, NULL, 0);
354 module_param_array(sync, int, NULL, 0);
358 module_param_array(delay, int, NULL, 0);
361 static int exttrans[] = {0, 0};
362 module_param_array(exttrans, int, NULL, 0);
365 static int aha152x[] = {0, 11, 7, 1, 1, 0, DELAY_DEFAULT, 0};
366 module_param_array(aha152x, int, NULL, 0);
369 static int aha152x1[] = {0, 11, 7, 1, 1, 0, DELAY_DEFAULT, 0};
370 module_param_array(aha152x1, int, NULL, 0);
376 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x1502), 0 },
377 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x1505), 0 },
378 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x1510), 0 },
379 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x1515), 0 },
380 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x1520), 0 },
381 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x2015), 0 },
382 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x1522), 0 },
383 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x2215), 0 },
384 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x1530), 0 },
385 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x3015), 0 },
386 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x1532), 0 },
387 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x3215), 0 },
388 { ISAPNP_ANY_ID, ISAPNP_ANY_ID, ISAPNP_VENDOR('A', 'D', 'P'), ISAPNP_FUNCTION(0x6360), 0 },
403 idle=0,
477 /* 0: no negotiation;
613 { "idle", NULL, NULL, NULL, 0},
614 { "unknown", NULL, NULL, NULL, 0},
615 { "seldo", NULL, seldo_run, NULL, 0},
616 { "seldi", NULL, seldi_run, NULL, 0},
617 { "selto", NULL, selto_run, NULL, 0},
618 { "busfree", NULL, busfree_run, NULL, 0},
623 { "datai", datai_init, datai_run, datai_end, 0},
624 { "datao", datao_init, datao_run, datao_end, 0},
625 { "parerr", NULL, parerr_run, NULL, 0},
626 { "rsti", NULL, rsti_run, NULL, 0},
735 memset(HOSTDATA(shpnt), 0, sizeof *HOSTDATA(shpnt)); in aha152x_probe_one()
749 HOSTIOPORT0 = setup->io_port+0x10; in aha152x_probe_one()
750 HOSTIOPORT1 = setup->io_port-0x10; in aha152x_probe_one()
770 SETPORT(SCSISEQ, 0); in aha152x_probe_one()
778 "io=0x%03lx (0x%03lx/0x%03lx), " in aha152x_probe_one()
787 GETPORT(REV) & 0x7, in aha152x_probe_one()
798 SETPORT(SIMODE0, 0); in aha152x_probe_one()
799 SETPORT(SIMODE1, 0); in aha152x_probe_one()
806 HOSTDATA(shpnt)->swint = 0; in aha152x_probe_one()
832 SETPORT(SSTAT0, 0x7f); in aha152x_probe_one()
833 SETPORT(SSTAT1, 0xef); in aha152x_probe_one()
893 SETPORT(SIMODE0, ENSELDO | (DISCONNECTED_SC ? ENSELDI : 0)); in setup_expected_interrupts()
896 SETPORT(SIMODE0, (CURRENT_SC->SCp.phase & spiordy) ? ENSPIORDY : 0); in setup_expected_interrupts()
900 SETPORT(SIMODE0, 0); in setup_expected_interrupts()
903 SETPORT(SIMODE0, DISCONNECTED_SC ? ENSELDI : 0); in setup_expected_interrupts()
904 SETPORT(SIMODE1, ENSCSIRST | ( (ISSUE_SC||DONE_SC) ? ENBUSFREE : 0)); in setup_expected_interrupts()
926 SCpnt->SCp.Status = 0x1; /* Ilegal status by SCSI standard */ in aha152x_internal_queue()
927 SCpnt->SCp.Message = 0; in aha152x_internal_queue()
928 SCpnt->SCp.have_data_in = 0; in aha152x_internal_queue()
929 SCpnt->SCp.sent_command = 0; in aha152x_internal_queue()
956 SCpnt->SCp.this_residual = 0; in aha152x_internal_queue()
957 scsi_set_resid(SCpnt, 0); in aha152x_internal_queue()
959 SCpnt->SCp.buffers_residual = 0; in aha152x_internal_queue()
986 return 0; in aha152x_internal_queue()
996 return aha152x_internal_queue(SCpnt, NULL, 0, done); in aha152x_queue_lck()
1031 SETPORT(PORTA, 0); in aha152x_abort()
1078 SCpnt->cmd_len = 0; in aha152x_device_reset()
1097 SETPORT(PORTA, 0); in aha152x_device_reset()
1163 SETPORT(SCSISEQ, 0); in aha152x_bus_reset_host()
1167 if(HOSTDATA(shpnt)->commands==0) in aha152x_bus_reset_host()
1168 SETPORT(PORTA, 0); in aha152x_bus_reset_host()
1195 SETPORT(SCSISEQ, 0); in reset_ports()
1197 SETPORT(SXFRCTL1, 0); in reset_ports()
1198 SETPORT(SCSISIG, 0); in reset_ports()
1199 SETRATE(0); in reset_ports()
1202 SETPORT(SSTAT0, 0x7f); in reset_ports()
1203 SETPORT(SSTAT1, 0xef); in reset_ports()
1207 SETPORT(DMACNTRL0, 0); in reset_ports()
1208 SETPORT(DMACNTRL1, 0); in reset_ports()
1210 SETPORT(BRSTCNTRL, 0xf1); in reset_ports()
1243 info_array[0] = 64; in aha152x_biosparam()
1252 if (scsicam_bios_param(bdev, capacity, info) < 0 || in aha152x_biosparam()
1253 !((info[0] == 64 && info[1] == 32) || (info[0] == 255 && info[1] == 63))) { in aha152x_biosparam()
1258 info_array[0] = 255; in aha152x_biosparam()
1269 info_array[0] = info[0]; in aha152x_biosparam()
1273 if (info[0] == 255 && !EXT_TRANS) { in aha152x_biosparam()
1281 return 0; in aha152x_biosparam()
1345 if ((rev == 0xFF) && (dmacntrl0 == 0xFF)) in intr()
1356 if( HOSTDATA(shpnt)->service==0 ) { in intr()
1377 int action=0; in busfree_run()
1393 …done(shpnt, (CURRENT_SC->SCp.Status & 0xff) | ((CURRENT_SC->SCp.Message & 0xff) << 8) | (DID_OK <<… in busfree_run()
1396 …done(shpnt, (CURRENT_SC->SCp.Status & 0xff) | ((CURRENT_SC->SCp.Message & 0xff) << 8) | (DID_ABORT… in busfree_run()
1399 …done(shpnt, (CURRENT_SC->SCp.Status & 0xff) | ((CURRENT_SC->SCp.Message & 0xff) << 8) | (DID_RESET… in busfree_run()
1436 SETPORT(PORTA, 0); /* turn led off */ in busfree_run()
1450 scsi_eh_prep_cmnd(ptr, &sc->ses, NULL, 0, ~0); in busfree_run()
1465 SETPORT(PORTA, 0); /* turn led off */ in busfree_run()
1499 SETPORT(SXFRCTL1, (PARITY ? ENSPCHK : 0 ) | ENSTIMER); in busfree_run()
1500 SETPORT(SCSISEQ, ENSELO | ENAUTOATNO | (DISCONNECTED_SC ? ENRESELI : 0)); in busfree_run()
1505 SETPORT(SCSISEQ, DISCONNECTED_SC ? ENRESELI : 0); in busfree_run()
1521 SETPORT(SCSISIG, 0); in seldo_run()
1527 SETPORT(SCSISEQ, 0); in seldo_run()
1544 } else if (SYNCNEG==0 && SYNCHRONOUS) { in seldo_run()
1560 SETPORT(SCSISEQ, 0); in selto_run()
1590 SETPORT(SCSISIG, 0); in seldi_run()
1614 if (selid==0) { in seldi_run()
1630 SETPORT(SCSISEQ, 0); in seldi_run()
1673 if(!(MSGI(0) & IDENTIFY_BASE)) { in msgi_run()
1679 CURRENT_SC = remove_lun_SC(&DISCONNECTED_SC, RECONN_TARGET, MSGI(0) & 0x3f); in msgi_run()
1686 RECONN_TARGET, MSGI(0) & 0x3f); in msgi_run()
1690 CURRENT_SC->SCp.Message = MSGI(0); in msgi_run()
1693 MSGILEN=0; in msgi_run()
1699 CURRENT_SC->SCp.Message = MSGI(0); in msgi_run()
1701 switch (MSGI(0)) { in msgi_run()
1752 spi_print_msg(&MSGI(0)); in msgi_run()
1802 for(i=0; i<8; i++) { in msgi_run()
1803 HOSTDATA(shpnt)->syncrate[i]=0; in msgi_run()
1804 HOSTDATA(shpnt)->syncneg[i]=0; in msgi_run()
1820 MSGILEN=0; in msgi_run()
1826 if(MSGILEN>0) in msgi_end()
1831 if (MSGOLEN > 0 && !(GETPORT(SSTAT1) & BUSFREE)) in msgi_end()
1841 if(MSGOLEN==0) { in msgo_init()
1842 if((CURRENT_SC->SCp.phase & syncneg) && SYNCNEG==2 && SYNCRATE==0) { in msgo_init()
1895 MSGO_I = 0; in msgo_end()
1896 MSGOLEN = 0; in msgo_end()
1912 CMD_I=0; in cmd_init()
1964 SETPORT(SIMODE0, 0); in datai_init()
1967 DATA_LEN=0; in datai_init()
2009 if(CURRENT_SC->SCp.this_residual>0) { in datai_run()
2010 while(fifodata>0 && CURRENT_SC->SCp.this_residual>0) { in datai_run()
2032 if (CURRENT_SC->SCp.this_residual == 0 && in datai_run()
2033 CURRENT_SC->SCp.buffers_residual > 0) { in datai_run()
2041 } else if (fifodata > 0) { in datai_run()
2047 while(fifodata>0) { in datai_run()
2060 GETPORT(FIFOSTAT)>0) { in datai_run()
2084 SETPORT(DMACNTRL0, 0); in datai_end()
2099 SETPORT(SIMODE0, 0); in datao_init()
2111 while(TESTLO(DMASTAT, INTSTAT) && CURRENT_SC->SCp.this_residual>0) { in datao_run()
2139 if(CURRENT_SC->SCp.this_residual==0 && CURRENT_SC->SCp.buffers_residual>0) { in datao_run()
2168 while(data_count>0) { in datao_end()
2182 SETPORT(DMACNTRL0, 0); in datao_end()
2191 int dataphase=0; in update_state()
2200 SETPORT(SCSISEQ,0); in update_state()
2296 if( HOSTDATA(shpnt)->service==0 ) { in is_complete()
2301 HOSTDATA(shpnt)->service = 0; in is_complete()
2334 SETPORT(DMACNTRL0, 0); in is_complete()
2355 SETPORT(DMACNTRL0, 0); in is_complete()
2451 "phase |%s%s%s%s%s%s%s%s%s; next=0x%p", in show_command()
2499 for (i = 0; i < COMMAND_SIZE(ptr->cmnd[0]); i++) in get_command()
2500 seq_printf(m, "0x%02x ", ptr->cmnd[i]); in get_command()
2522 seq_printf(m, "; next=0x%p\n", SCNEXT(ptr)); in get_command()
2709 seq_printf(m, "SCSICNT (%d), OFFCNT(%d), ", (s & 0xf0) >> 4, s & 0x0f); in get_ports()
2786 if(!shpnt || !buffer || length<8 || strncmp("aha152x ", buffer, 8)!=0) in aha152x_set_info()
2790 if(length>13 && strncmp("reset", buffer+8, 5)==0) { in aha152x_set_info()
2793 HOSTDATA(shpnt)->total_commands=0; in aha152x_set_info()
2794 HOSTDATA(shpnt)->disconnections=0; in aha152x_set_info()
2795 HOSTDATA(shpnt)->busfree_without_any_action=0; in aha152x_set_info()
2796 HOSTDATA(shpnt)->busfree_without_old_command=0; in aha152x_set_info()
2797 HOSTDATA(shpnt)->busfree_without_new_command=0; in aha152x_set_info()
2798 HOSTDATA(shpnt)->busfree_without_done_command=0; in aha152x_set_info()
2799 HOSTDATA(shpnt)->busfree_with_check_condition=0; in aha152x_set_info()
2801 HOSTDATA(shpnt)->count[i]=0; in aha152x_set_info()
2802 HOSTDATA(shpnt)->count_trans[i]=0; in aha152x_set_info()
2803 HOSTDATA(shpnt)->time[i]=0; in aha152x_set_info()
2826 seq_printf(m, "ioports 0x%04lx to 0x%04lx\n", in aha152x_show_info()
2828 seq_printf(m, "interrupt 0x%02x\n", shpnt->irq); in aha152x_show_info()
2839 for (i = 0; i < 8; i++) in aha152x_show_info()
2840 if (HOSTDATA(shpnt)->syncrate[i] & 0x7f) in aha152x_show_info()
2843 (((HOSTDATA(shpnt)->syncrate[i] & 0x70) >> 4) + 2), in aha152x_show_info()
2844 (((HOSTDATA(shpnt)->syncrate[i] & 0x70) >> 4) + 2) * 50, in aha152x_show_info()
2845 HOSTDATA(shpnt)->syncrate[i] & 0x0f); in aha152x_show_info()
2892 for(i=0; i<maxstate; i++) { in aha152x_show_info()
2900 return 0; in aha152x_show_info()
2906 return 0; in aha152x_adjust_queue()
2932 static unsigned short ports[] = { 0x340, 0x140 };
2938 0xdc000, /* default first */
2939 0xc8000,
2940 0xcc000,
2941 0xd0000,
2942 0xd4000,
2943 0xd8000,
2944 0xe0000,
2945 0xeb800, /* VTech Platinum SMP */
2946 0xf0000,
2962 { "Adaptec AHA-1520 BIOS", 0x102e, 21 },
2964 { "Adaptec AHA-1520B", 0x000b, 17 },
2966 { "Adaptec AHA-1520B", 0x0026, 17 },
2968 { "Adaptec ASW-B626 BIOS", 0x1029, 21 },
2970 { "Adaptec BIOS: ASW-B626", 0x000f, 22 },
2972 { "Adaptec ASW-B626 S2", 0x2e6c, 19 },
2974 { "Adaptec BIOS:AIC-6360", 0x000c, 21 },
2976 { "ScsiPro SP-360 BIOS", 0x2873, 19 },
2978 { "GA-400 LOCAL BUS SCSI BIOS", 0x102e, 26 },
2980 { "Adaptec BIOS:AVA-282X", 0x000c, 21 },
2982 { "Adaptec IBM Dock II SCSI", 0x2edd, 24 },
2984 { "Adaptec BIOS:AHA-1532P", 0x001c, 22 },
2986 { "DTC3520A Host Adapter BIOS", 0x318a, 26 },
2999 SETPORT(io_port + O_DMACNTRL1, 0); /* reset stack pointer */ in aha152x_porttest()
3000 for (i = 0; i < 16; i++) in aha152x_porttest()
3003 SETPORT(io_port + O_DMACNTRL1, 0); /* reset stack pointer */ in aha152x_porttest()
3004 for (i = 0; i < 16 && GETPORT(io_port + O_STACK) == i; i++) in aha152x_porttest()
3014 SETPORT(io_port + O_TC_DMACNTRL1, 0); /* reset stack pointer */ in tc1550_porttest()
3015 for (i = 0; i < 16; i++) in tc1550_porttest()
3018 SETPORT(io_port + O_TC_DMACNTRL1, 0); /* reset stack pointer */ in tc1550_porttest()
3019 for (i = 0; i < 16 && GETPORT(io_port + O_TC_STACK) == i; i++) in tc1550_porttest()
3029 for (i = 0; i < ARRAY_SIZE(ports) && (setup->io_port != ports[i]); i++) in checksetup()
3033 return 0; in checksetup()
3036 printk(KERN_ERR "aha152x: io port 0x%x busy.\n", setup->io_port); in checksetup()
3037 return 0; in checksetup()
3041 setup->tc1550=0; in checksetup()
3046 return 0; in checksetup()
3052 return 0; in checksetup()
3054 if ((setup->scsiid < 0) || (setup->scsiid > 7)) in checksetup()
3055 return 0; in checksetup()
3057 if ((setup->reconnect < 0) || (setup->reconnect > 1)) in checksetup()
3058 return 0; in checksetup()
3060 if ((setup->parity < 0) || (setup->parity > 1)) in checksetup()
3061 return 0; in checksetup()
3063 if ((setup->synchronous < 0) || (setup->synchronous > 1)) in checksetup()
3064 return 0; in checksetup()
3066 if ((setup->ext_trans < 0) || (setup->ext_trans > 1)) in checksetup()
3067 return 0; in checksetup()
3087 for (i = 0; i<setup_count; i++) { in aha152x_init()
3100 if (setup_count == 0 || (override.io_port != setup[0].io_port)) { in aha152x_init()
3102 printk(KERN_ERR "\naha152x: invalid override SETUP0={0x%x,%d,%d,%d,%d,%d,%d,%d}\n", in aha152x_init()
3121 if (setup_count == 0 || (override.io_port != setup[0].io_port)) { in aha152x_init()
3123 printk(KERN_ERR "\naha152x: invalid override SETUP1={0x%x,%d,%d,%d,%d,%d,%d,%d}\n", in aha152x_init()
3139 if (setup_count<ARRAY_SIZE(setup) && (aha152x[0]!=0 || io[0]!=0 || irq[0]!=0)) { in aha152x_init()
3140 if(aha152x[0]!=0) { in aha152x_init()
3142 setup[setup_count].io_port = aha152x[0]; in aha152x_init()
3150 } else if (io[0] != 0 || irq[0] != 0) { in aha152x_init()
3151 if(io[0]!=0) setup[setup_count].io_port = io[0]; in aha152x_init()
3152 if(irq[0]!=0) setup[setup_count].irq = irq[0]; in aha152x_init()
3154 setup[setup_count].scsiid = scsiid[0]; in aha152x_init()
3155 setup[setup_count].reconnect = reconnect[0]; in aha152x_init()
3156 setup[setup_count].parity = parity[0]; in aha152x_init()
3157 setup[setup_count].synchronous = sync[0]; in aha152x_init()
3158 setup[setup_count].delay = delay[0]; in aha152x_init()
3159 setup[setup_count].ext_trans = exttrans[0]; in aha152x_init()
3165 …printk(KERN_ERR "aha152x: invalid module params io=0x%x, irq=%d,scsiid=%d,reconnect=%d,parity=%d,s… in aha152x_init()
3176 if (setup_count<ARRAY_SIZE(setup) && (aha152x1[0]!=0 || io[1]!=0 || irq[1]!=0)) { in aha152x_init()
3177 if(aha152x1[0]!=0) { in aha152x_init()
3179 setup[setup_count].io_port = aha152x1[0]; in aha152x_init()
3187 } else if (io[1] != 0 || irq[1] != 0) { in aha152x_init()
3188 if(io[1]!=0) setup[setup_count].io_port = io[1]; in aha152x_init()
3189 if(irq[1]!=0) setup[setup_count].irq = irq[1]; in aha152x_init()
3201 …printk(KERN_ERR "aha152x: invalid module params io=0x%x, irq=%d,scsiid=%d,reconnect=%d,parity=%d,s… in aha152x_init()
3214 for(i=0; setup_count<ARRAY_SIZE(setup) && id_table[i].vendor; i++) { in aha152x_init()
3217 if (pnp_device_attach(dev) < 0) in aha152x_init()
3220 if (pnp_activate_dev(dev) < 0) { in aha152x_init()
3225 if (!pnp_port_valid(dev, 0)) { in aha152x_init()
3230 if (setup_count==1 && pnp_port_start(dev, 0)==setup[0].io_port) { in aha152x_init()
3235 setup[setup_count].io_port = pnp_port_start(dev, 0); in aha152x_init()
3236 setup[setup_count].irq = pnp_irq(dev, 0); in aha152x_init()
3242 setup[setup_count].ext_trans = 0; in aha152x_init()
3247 "aha152x: found ISAPnP adapter at io=0x%03x, irq=%d\n", in aha152x_init()
3257 ok = 0; in aha152x_init()
3258 for (i = 0; i < ARRAY_SIZE(addresses) && !ok; i++) { in aha152x_init()
3259 void __iomem *p = ioremap(addresses[i], 0x4000); in aha152x_init()
3262 for (j = 0; j<ARRAY_SIZE(signatures) && !ok; j++) in aha152x_init()
3267 if (!ok && setup_count == 0) in aha152x_init()
3275 ok = 0; in aha152x_init()
3276 for (i = 0; i < ARRAY_SIZE(ports) && setup_count < 2; i++) { in aha152x_init()
3277 if ((setup_count == 1) && (setup[0].io_port == ports[i])) in aha152x_init()
3281 printk(KERN_ERR "aha152x: io port 0x%x busy.\n", ports[i]); in aha152x_init()
3286 setup[setup_count].tc1550 = 0; in aha152x_init()
3310 setup[setup_count].ext_trans = 0; in aha152x_init()
3322 for (i=0; i<setup_count; i++) { in aha152x_init()
3335 printk(KERN_ERR "aha152x: io port 0x%x busy.\n", setup[i].io_port); in aha152x_init()
3344 return 0; in aha152x_init()
3374 setup[setup_count].io_port = ints[0] >= 1 ? ints[1] : 0x340; in aha152x_setup()
3375 setup[setup_count].irq = ints[0] >= 2 ? ints[2] : 11; in aha152x_setup()
3376 setup[setup_count].scsiid = ints[0] >= 3 ? ints[3] : 7; in aha152x_setup()
3377 setup[setup_count].reconnect = ints[0] >= 4 ? ints[4] : 1; in aha152x_setup()
3378 setup[setup_count].parity = ints[0] >= 5 ? ints[5] : 1; in aha152x_setup()
3379 setup[setup_count].synchronous = ints[0] >= 6 ? ints[6] : 1; in aha152x_setup()
3380 setup[setup_count].delay = ints[0] >= 7 ? ints[7] : DELAY_DEFAULT; in aha152x_setup()
3381 setup[setup_count].ext_trans = ints[0] >= 8 ? ints[8] : 0; in aha152x_setup()
3382 if (ints[0] > 8) { /*}*/ in aha152x_setup()
3387 return 0; in aha152x_setup()