jsm.h (d7685ca7c4f5d22dd9b045992e82c1c444a92187) | jsm.h (95db1ccb15ae3703f751891ce1ee8f7734c21c96) |
---|---|
1/************************************************************************ 2 * Copyright 2003 Digi International (www.digi.com) 3 * 4 * Copyright (C) 2004 IBM Corporation. All rights reserved. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2, or (at your option) --- 175 unchanged lines hidden (view full) --- 184#define CH_CLOSING 0x0100 /* Port in fragile close state */ 185#define CH_FIFO_ENABLED 0x0200 /* Port has FIFOs enabled */ 186#define CH_TX_FIFO_EMPTY 0x0400 /* TX Fifo is completely empty */ 187#define CH_TX_FIFO_LWM 0x0800 /* TX Fifo is below Low Water */ 188#define CH_BREAK_SENDING 0x1000 /* Break is being sent */ 189#define CH_LOOPBACK 0x2000 /* Channel is in lookback mode */ 190#define CH_BAUD0 0x08000 /* Used for checking B0 transitions */ 191 | 1/************************************************************************ 2 * Copyright 2003 Digi International (www.digi.com) 3 * 4 * Copyright (C) 2004 IBM Corporation. All rights reserved. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2, or (at your option) --- 175 unchanged lines hidden (view full) --- 184#define CH_CLOSING 0x0100 /* Port in fragile close state */ 185#define CH_FIFO_ENABLED 0x0200 /* Port has FIFOs enabled */ 186#define CH_TX_FIFO_EMPTY 0x0400 /* TX Fifo is completely empty */ 187#define CH_TX_FIFO_LWM 0x0800 /* TX Fifo is below Low Water */ 188#define CH_BREAK_SENDING 0x1000 /* Break is being sent */ 189#define CH_LOOPBACK 0x2000 /* Channel is in lookback mode */ 190#define CH_BAUD0 0x08000 /* Used for checking B0 transitions */ 191 |
192/* Our Read/Error/Write queue sizes */ | 192/* Our Read/Error queue sizes */ |
193#define RQUEUEMASK 0x1FFF /* 8 K - 1 */ 194#define EQUEUEMASK 0x1FFF /* 8 K - 1 */ 195#define RQUEUESIZE (RQUEUEMASK + 1) 196#define EQUEUESIZE RQUEUESIZE 197 198 199/************************************************************************ 200 * Channel information structure. --- 225 unchanged lines hidden (view full) --- 426#define PCI_DEVICE_NEO_2RJ45PRI_PCI_NAME "Neo 2 - RJ45 Universal PCI - Powered Ring Indicator" 427#define PCIE_DEVICE_NEO_IBM_PCI_NAME "Neo 4 - PCI Express - IBM" 428 429/* 430 * Our Global Variables. 431 */ 432extern struct uart_driver jsm_uart_driver; 433extern struct board_ops jsm_neo_ops; | 193#define RQUEUEMASK 0x1FFF /* 8 K - 1 */ 194#define EQUEUEMASK 0x1FFF /* 8 K - 1 */ 195#define RQUEUESIZE (RQUEUEMASK + 1) 196#define EQUEUESIZE RQUEUESIZE 197 198 199/************************************************************************ 200 * Channel information structure. --- 225 unchanged lines hidden (view full) --- 426#define PCI_DEVICE_NEO_2RJ45PRI_PCI_NAME "Neo 2 - RJ45 Universal PCI - Powered Ring Indicator" 427#define PCIE_DEVICE_NEO_IBM_PCI_NAME "Neo 4 - PCI Express - IBM" 428 429/* 430 * Our Global Variables. 431 */ 432extern struct uart_driver jsm_uart_driver; 433extern struct board_ops jsm_neo_ops; |
434extern struct board_ops jsm_cls_ops; |
|
434extern int jsm_debug; 435 436/************************************************************************* 437 * 438 * Prototypes for non-static functions used in more than one module 439 * 440 *************************************************************************/ 441int jsm_tty_init(struct jsm_board *); 442int jsm_uart_port_init(struct jsm_board *); 443int jsm_remove_uart_port(struct jsm_board *); 444void jsm_input(struct jsm_channel *ch); 445void jsm_check_queue_flow_control(struct jsm_channel *ch); 446 447#endif | 435extern int jsm_debug; 436 437/************************************************************************* 438 * 439 * Prototypes for non-static functions used in more than one module 440 * 441 *************************************************************************/ 442int jsm_tty_init(struct jsm_board *); 443int jsm_uart_port_init(struct jsm_board *); 444int jsm_remove_uart_port(struct jsm_board *); 445void jsm_input(struct jsm_channel *ch); 446void jsm_check_queue_flow_control(struct jsm_channel *ch); 447 448#endif |