Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130
b: refs/heads/master
c: 614a7d6
h: refs/heads/master
v: v3
  • Loading branch information
Christoph Hellwig authored and Linus Torvalds committed Apr 16, 2005
1 parent 173fff5 commit daf9547
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 312 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a299738283a654544c75167d190d9e87b77e5fb7
refs/heads/master: 614a7d6a76b7fb37bb399047eb3ccf86cafbf60d
38 changes: 0 additions & 38 deletions trunk/drivers/serial/jsm/jsm.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,28 +93,6 @@ enum {
#define JSM_VERSION "jsm: 1.1-1-INKERNEL"
#define JSM_PARTNUM "40002438_A-INKERNEL"

/*
* All the possible states the driver can be while being loaded.
*/
enum {
DRIVER_INITIALIZED = 0,
DRIVER_READY
};

/*
* All the possible states the board can be while booting up.
*/
enum {
BOARD_FAILED = 0,
BOARD_FOUND,
BOARD_READY
};

struct board_id {
u8 *name;
u32 maxports;
};

struct jsm_board;
struct jsm_channel;

Expand Down Expand Up @@ -149,7 +127,6 @@ struct jsm_board
int boardnum; /* Board number: 0-32 */

int type; /* Type of board */
char *name; /* Product Name */
u8 rev; /* PCI revision ID */
struct pci_dev *pci_dev;
u32 maxports; /* MAX ports this board can handle */
Expand All @@ -160,9 +137,6 @@ struct jsm_board
* the interrupt routine from each other.
*/

u32 state; /* State of card. */
wait_queue_head_t state_wait; /* Place to sleep on for state change */

u32 nasync; /* Number of ports on card */

u32 irq; /* Interrupt request number */
Expand All @@ -181,9 +155,6 @@ struct jsm_board
struct jsm_channel *channels[MAXPORTS]; /* array of pointers to our channels. */
char *flipbuf; /* Our flip buffer, alloced if board is found */

u16 dpatype; /* The board "type", as defined by DPA */
u16 dpastatus; /* The board "status", as defined by DPA */

u32 bd_dividend; /* Board/UARTs specific dividend */

struct board_ops *bd_ops;
Expand Down Expand Up @@ -412,12 +383,6 @@ extern struct board_ops jsm_neo_ops;
extern int jsm_debug;
extern int jsm_rawreadok;

extern int jsm_driver_state; /* The state of the driver */
extern char *jsm_driver_state_text[];/* Array of driver state text */

extern spinlock_t jsm_board_head_lock;
extern struct list_head jsm_board_head;

/*************************************************************************
*
* Prototypes for non-static functions used in more than one module
Expand All @@ -431,7 +396,4 @@ void jsm_input(struct jsm_channel *ch);
void jsm_carrier(struct jsm_channel *ch);
void jsm_check_queue_flow_control(struct jsm_channel *ch);

void jsm_create_driver_sysfiles(struct device_driver *);
void jsm_remove_driver_sysfiles(struct device_driver *);

#endif
Loading

0 comments on commit daf9547

Please sign in to comment.