1/*- 2 * cyclades cyclom-y serial driver 3 * Andrew Herbert <andrew@werple.apana.org.au>, 17 August 1993 4 * 5 * Copyright (c) 1993 Andrew Herbert. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 13 unchanged lines hidden (view full) --- 22 * NO EVENT SHALL I BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 23 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 24 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 25 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 26 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 27 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 28 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * |
30 * $Id: cy.c,v 1.32 1996/05/02 09:34:34 phk Exp $ |
31 */ 32 33#include "cy.h" 34/* 35 * TODO: 36 * Check that cy16's work. 37 * Implement BREAK. 38 * Fix overflows when closing line. --- 299 unchanged lines hidden (view full) --- 338#define sioreset noreset 339#define siommap nommap 340#define siostrategy nostrategy 341 342static int sioattach __P((struct isa_device *dev)); 343static void cd1400_channel_cmd __P((cy_addr iobase, int cmd)); 344static timeout_t siodtrwakeup; 345static void comhardclose __P((struct com_s *com)); |
346#if 0 |
347static void siointr1 __P((struct com_s *com)); |
348#endif |
349static int commctl __P((struct com_s *com, int bits, int how)); 350static int comparam __P((struct tty *tp, struct termios *t)); 351static int sioprobe __P((struct isa_device *dev)); 352static void sioregisterdev __P((struct isa_device *id)); 353static void siosettimeout __P((void)); 354static int comspeed __P((speed_t speed, int *prescaler_io)); 355static void comstart __P((struct tty *tp)); 356static timeout_t comwakeup; --- 992 unchanged lines hidden (view full) --- 1349 } 1350 1351 /* ensure an edge for the next interrupt */ 1352 cy_outb(cy_iobase, CY_CLEAR_INTR, 0); 1353 1354 schedsofttty(); 1355} 1356 |
1357#if 0 |
1358static void 1359siointr1(com) 1360 struct com_s *com; 1361{ 1362} |
1363#endif |
1364 1365static int 1366sioioctl(dev, cmd, data, flag, p) 1367 dev_t dev; 1368 int cmd; 1369 caddr_t data; 1370 int flag; 1371 struct proc *p; --- 1166 unchanged lines hidden --- |