1/* 2 * Copyright (c) Comtrol Corporation <support@comtrol.com> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted prodived that the follwoing conditions 7 * are met. 8 * 1. Redistributions of source code must retain the above copyright --- 1166 unchanged lines hidden (view full) --- 1175 } 1176} 1177 1178static 1179int 1180rpattach(dev) 1181struct isa_device *dev; 1182{ |
1183 dev_t rp_dev; 1184 int iobase, unit, /*rpmajor,*/ oldspl; 1185 int num_ports, num_chan, num_aiops; 1186 int aiop, chan, port; 1187 int ChanStatus, line, i, count; 1188 unsigned int aiopio[MAX_AIOPS_PER_BOARD]; 1189 struct rp_port *rp; 1190 struct tty *tty; --- 83 unchanged lines hidden (view full) --- 1274 } 1275 ChanStatus = sGetChanStatus(&rp->rp_channel); 1276 rp->rp_cts = (ChanStatus & CTS_ACT) != 0; 1277 line = (unit << 5) | (aiop << 3) | chan; 1278 rp_table(line) = rp; 1279 } 1280 } 1281 |
1282 for(rpmajor=0;rpmajor<nchrdev;rpmajor++) 1283 if(cdevsw[rpmajor].d_open == rpopen) 1284 printf("From %d entries: Found entry at major = %d\n",nchrdev,rpmajor); 1285*/ 1286 return(1); 1287} 1288 1289int --- 756 unchanged lines hidden --- |