Commit faf49a92 authored by Kai Germaschewski's avatar Kai Germaschewski

Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make

into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-net
parents a79b7643 c7165d9a
...@@ -589,8 +589,9 @@ CLEAN_FILES += \ ...@@ -589,8 +589,9 @@ CLEAN_FILES += \
drivers/scsi/53c700_d.h drivers/scsi/sim710_d.h \ drivers/scsi/53c700_d.h drivers/scsi/sim710_d.h \
drivers/scsi/53c7xx_d.h drivers/scsi/53c7xx_u.h \ drivers/scsi/53c7xx_d.h drivers/scsi/53c7xx_u.h \
drivers/scsi/53c8xx_d.h drivers/scsi/53c8xx_u.h \ drivers/scsi/53c8xx_d.h drivers/scsi/53c8xx_u.h \
net/khttpd/make_times_h \ net/802/cl2llc.c net/802/transit/pdutr.h net/802/transit/timertr.h \
net/khttpd/times.h \ net/802/pseudo/pseudocode.h \
net/khttpd/make_times_h net/khttpd/times.h \
submenu* submenu*
# files removed with 'make mrproper' # files removed with 'make mrproper'
......
...@@ -203,7 +203,6 @@ extern int blk_dev_init(void); ...@@ -203,7 +203,6 @@ extern int blk_dev_init(void);
#ifdef CONFIG_FUSION #ifdef CONFIG_FUSION
extern int fusion_init(void); extern int fusion_init(void);
#endif #endif
extern int net_dev_init(void);
extern int soc_probe(void); extern int soc_probe(void);
extern int atmdev_init(void); extern int atmdev_init(void);
extern int i2o_init(void); extern int i2o_init(void);
...@@ -227,9 +226,6 @@ int __init device_init(void) ...@@ -227,9 +226,6 @@ int __init device_init(void)
#ifdef CONFIG_BLK_CPQ_DA #ifdef CONFIG_BLK_CPQ_DA
cpqarray_init(); cpqarray_init();
#endif #endif
#ifdef CONFIG_NET
net_dev_init();
#endif
#ifdef CONFIG_ATM #ifdef CONFIG_ATM
(void) atmdev_init(); (void) atmdev_init();
#endif #endif
......
...@@ -2,52 +2,37 @@ ...@@ -2,52 +2,37 @@
# Makefile for the Linux 802.x protocol layers. # Makefile for the Linux 802.x protocol layers.
# #
export-objs = llc_macinit.o p8022.o psnap.o export-objs := llc_macinit.o p8022.o psnap.o
obj-y = p8023.o obj-y := p8023.o
obj-$(CONFIG_SYSCTL) += sysctl_net_802.o obj-$(CONFIG_SYSCTL) += sysctl_net_802.o
obj-$(CONFIG_LLC) += llc_sendpdu.o llc_utility.o cl2llc.o llc_macinit.o obj-$(CONFIG_LLC) += p8022.o psnap.o llc_sendpdu.o llc_utility.o \
ifeq ($(CONFIG_SYSCTL),y) cl2llc.o llc_macinit.o
obj-y += sysctl_net_802.o obj-$(CONFIG_TR) += p8022.o psnap.o tr.o
endif obj-$(CONFIG_NET_FC) += fc.o
obj-$(CONFIG_FDDI) += fddi.o
obj-$(CONFIG_HIPPI) += hippi.o
obj-$(CONFIG_IPX) += p8022.o psnap.o
obj-$(CONFIG_ATALK) += p8022.o psnap.o
ifeq ($(CONFIG_LLC),y) include $(TOPDIR)/Rules.make
subdir-y += transit
obj-y += llc_sendpdu.o llc_utility.o cl2llc.o llc_macinit.o
SNAP = y
endif
ifdef CONFIG_TR
obj-y += tr.o
SNAP=y
endif
ifdef CONFIG_NET_FC
obj-y += fc.o
endif
ifdef CONFIG_FDDI # Dependencies on generated files need to be listed explicitly
obj-y += fddi.o
endif
ifdef CONFIG_HIPPI cl2llc.o: transit/pdutr.h transit/timertr.h pseudo/pseudocode.h
obj-y += hippi.o
endif
ifdef CONFIG_IPX # Generated files
SNAP=y
endif
ifdef CONFIG_ATALK transit/pdutr.h: transit/pdutr.pre transit/compile.awk
SNAP=y awk -f transit/compile.awk $< >$@
endif
ifeq ($(SNAP),y) transit/timertr.h: transit/timertr.pre transit/compile.awk
obj-y += p8022.o psnap.o awk -f transit/compile.awk $< >$@
endif
include $(TOPDIR)/Rules.make pseudo/pseudocode.h: pseudo/pseudocode pseudo/opcd2num.sed \
pseudo/compile.awk
sed -f pseudo/opcd2num.sed $< | awk -f pseudo/compile.awk >$@
cl2llc.c: cl2llc.pre cl2llc.c: cl2llc.pre pseudo/opcd2num.sed
sed -f ./pseudo/opcd2num.sed cl2llc.pre >cl2llc.c sed -f pseudo/opcd2num.sed $< >$@
/*
* NET An implementation of the IEEE 802.2 LLC protocol for the
* LINUX operating system. LLC is implemented as a set of
* state machines and callbacks for higher networking layers.
*
* Class 2 llc algorithm.
* Pseudocode interpreter, transition table lookup,
* data_request & indicate primitives...
*
* Code for initialization, termination, registration and
* MAC layer glue.
*
* Copyright Tim Alpaerts,
* <Tim_Alpaerts@toyota-motor-europe.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*
* Changes
* Alan Cox : Chainsawed into Linux format
* Modified to use llc_ names
* Changed callbacks
*
* This file must be processed by sed before it can be compiled.
*/
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <net/p8022.h>
#include <linux/proc_fs.h>
#include <linux/stat.h>
#include <asm/byteorder.h>
#include "pseudo/pseudocode.h"
#include "transit/pdutr.h"
#include "transit/timertr.h"
#include <net/llc_frame.h>
#include <net/llc.h>
/*
* Data_request() is called by the client to present a data unit
* to the llc for transmission.
* In the future this function should also check if the transmit window
* allows the sending of another pdu, and if not put the skb on the atq
* for deferred sending.
*/
int llc_data_request(llcptr lp, struct sk_buff *skb)
{
if (skb_headroom(skb) < (lp->dev->hard_header_len +4)){
printk("cl2llc: data_request() not enough headroom in skb\n");
return -1;
};
skb_push(skb, 4);
if ((lp->state != NORMAL) && (lp->state != BUSY) && (lp->state != REJECT))
{
printk("cl2llc: data_request() while no llc connection\n");
return -1;
}
if (lp->remote_busy)
{ /* if the remote llc is BUSY, */
ADD_TO_ATQ(skb); /* save skb in the await transmit queue */
return 0;
}
else
{
/*
* Else proceed with xmit
*/
switch(lp->state)
{
case NORMAL:
if(lp->p_flag)
llc_interpret_pseudo_code(lp, NORMAL2, skb, NO_FRAME);
else
llc_interpret_pseudo_code(lp, NORMAL1, skb, NO_FRAME);
break;
case BUSY:
if (lp->p_flag)
llc_interpret_pseudo_code(lp, BUSY2, skb, NO_FRAME);
else
llc_interpret_pseudo_code(lp, BUSY1, skb, NO_FRAME);
break;
case REJECT:
if (lp->p_flag)
llc_interpret_pseudo_code(lp, REJECT2, skb, NO_FRAME);
else
llc_interpret_pseudo_code(lp, REJECT1, skb, NO_FRAME);
break;
default:;
}
if(lp->llc_callbacks)
{
lp->llc_event(lp);
lp->llc_callbacks=0;
}
return 0;
}
}
/*
* Disconnect_request() requests that the llc to terminate a connection
*/
void disconnect_request(llcptr lp)
{
if ((lp->state == NORMAL) ||
(lp->state == BUSY) ||
(lp->state == REJECT) ||
(lp->state == AWAIT) ||
(lp->state == AWAIT_BUSY) ||
(lp->state == AWAIT_REJECT))
{
lp->state = D_CONN;
llc_interpret_pseudo_code(lp, SH1, NULL, NO_FRAME);
if(lp->llc_callbacks)
{
lp->llc_event(lp);
lp->llc_callbacks=0;
}
/*
* lp may be invalid after the callback
*/
}
}
/*
* Connect_request() requests that the llc to start a connection
*/
void connect_request(llcptr lp)
{
if (lp->state == ADM)
{
lp->state = SETUP;
llc_interpret_pseudo_code(lp, ADM1, NULL, NO_FRAME);
if(lp->llc_callbacks)
{
lp->llc_event(lp);
lp->llc_callbacks=0;
}
/*
* lp may be invalid after the callback
*/
}
}
/*
* Interpret_pseudo_code() executes the actions in the connection component
* state transition table. Table 4 in document on p88.
*
* If this function is called to handle an incoming pdu, skb will point
* to the buffer with the pdu and type will contain the decoded pdu type.
*
* If called by data_request skb points to an skb that was skb_alloc-ed by
* the llc client to hold the information unit to be transmitted, there is
* no valid type in this case.
*
* If called because a timer expired no skb is passed, and there is no
* type.
*/
void llc_interpret_pseudo_code(llcptr lp, int pc_label, struct sk_buff *skb,
char type)
{
short int pc; /* program counter in pseudo code array */
char p_flag_received;
frameptr fr;
int resend_count; /* number of pdus resend by llc_resend_ipdu() */
int ack_count; /* number of pdus acknowledged */
struct sk_buff *skb2;
if (skb != NULL)
{
fr = (frameptr) skb->data;
}
else
fr = NULL;
pc = pseudo_code_idx[pc_label];
while(pseudo_code[pc])
{
switch(pseudo_code[pc])
{
case 9:
if ((type != I_CMD) || (fr->i_hdr.i_pflag == 0))
break;
case 1:
lp->remote_busy = 0;
llc_stop_timer(lp, BUSY_TIMER);
if ((lp->state == NORMAL) ||
(lp->state == REJECT) ||
(lp->state == BUSY))
{
skb2 = llc_pull_from_atq(lp);
if (skb2 != NULL)
llc_start_timer(lp, ACK_TIMER);
while (skb2 != NULL)
{
llc_sendipdu( lp, I_CMD, 0, skb2);
skb2 = llc_pull_from_atq(lp);
}
}
break;
case 2:
lp->state = NORMAL; /* needed to eliminate connect_response() */
lp->llc_mode = MODE_ABM;
lp->llc_callbacks|=LLC_CONN_INDICATION;
break;
case 3:
lp->llc_mode = MODE_ABM;
lp->llc_callbacks|=LLC_CONN_CONFIRM;
break;
case 4:
skb_pull(skb, 4);
lp->inc_skb=skb;
lp->llc_callbacks|=LLC_DATA_INDIC;
break;
case 5:
lp->llc_mode = MODE_ADM;
lp->llc_callbacks|=LLC_DISC_INDICATION;
break;
case 70:
lp->llc_callbacks|=LLC_RESET_INDIC_LOC;
break;
case 71:
lp->llc_callbacks|=LLC_RESET_INDIC_REM;
break;
case 7:
lp->llc_callbacks|=LLC_RST_CONFIRM;
break;
case 66:
lp->llc_callbacks|=LLC_FRMR_RECV;
break;
case 67:
lp->llc_callbacks|=LLC_FRMR_SENT;
break;
case 68:
lp->llc_callbacks|=LLC_REMOTE_BUSY;
break;
case 69:
lp->llc_callbacks|=LLC_REMOTE_NOTBUSY;
break;
case 11:
llc_sendpdu(lp, DISC_CMD, lp->f_flag, 0, NULL);
break;
case 12:
llc_sendpdu(lp, DM_RSP, 0, 0, NULL);
break;
case 13:
lp->frmr_info_fld.cntl1 = fr->pdu_cntl.byte1;
lp->frmr_info_fld.cntl2 = fr->pdu_cntl.byte2;
lp->frmr_info_fld.vs = lp->vs;
lp->frmr_info_fld.vr_cr = lp->vr;
llc_sendpdu(lp, FRMR_RSP, 0, 5, (char *) &lp->frmr_info_fld);
break;
case 14:
llc_sendpdu(lp, FRMR_RSP, 0, 5, (char *) &lp->frmr_info_fld);
break;
case 15:
llc_sendpdu(lp, FRMR_RSP, lp->p_flag,
5, (char *) &lp->frmr_info_fld);
break;
case 16:
llc_sendipdu(lp, I_CMD, 1, skb);
break;
case 17:
resend_count = llc_resend_ipdu(lp, fr->i_hdr.nr, I_CMD, 1);
break;
case 18:
resend_count = llc_resend_ipdu(lp, fr->i_hdr.nr, I_CMD, 1);
if (resend_count == 0)
{
llc_sendpdu(lp, RR_CMD, 1, 0, NULL);
}
break;
case 19:
llc_sendipdu(lp, I_CMD, 0, skb);
break;
case 20:
resend_count = llc_resend_ipdu(lp, fr->i_hdr.nr, I_CMD, 0);
break;
case 21:
resend_count = llc_resend_ipdu(lp, fr->i_hdr.nr, I_CMD, 0);
if (resend_count == 0)
{
llc_sendpdu(lp, RR_CMD, 0, 0, NULL);
}
break;
case 22:
resend_count = llc_resend_ipdu(lp, fr->i_hdr.nr, I_RSP, 1);
break;
case 23:
llc_sendpdu(lp, REJ_CMD, 1, 0, NULL);
break;
case 24:
llc_sendpdu(lp, REJ_RSP, 1, 0, NULL);
break;
case 25:
if (IS_RSP(fr))
llc_sendpdu(lp, REJ_CMD, 0, 0, NULL);
else
llc_sendpdu(lp, REJ_RSP, 0, 0, NULL);
break;
case 26:
llc_sendpdu(lp, RNR_CMD, 1, 0, NULL);
break;
case 27:
llc_sendpdu(lp, RNR_RSP, 1, 0, NULL);
break;
case 28:
if (IS_RSP(fr))
llc_sendpdu(lp, RNR_CMD, 0, 0, NULL);
else
llc_sendpdu(lp, RNR_RSP, 0, 0, NULL);
break;
case 29:
if (lp->remote_busy == 0)
{
lp->remote_busy = 1;
llc_start_timer(lp, BUSY_TIMER);
lp->llc_callbacks|=LLC_REMOTE_BUSY;
}
else if (lp->timer_state[BUSY_TIMER] == TIMER_IDLE)
{
llc_start_timer(lp, BUSY_TIMER);
}
break;
case 30:
if (IS_RSP(fr))
llc_sendpdu(lp, RNR_CMD, 0, 0, NULL);
else
llc_sendpdu(lp, RNR_RSP, 0, 0, NULL);
break;
case 31:
llc_sendpdu(lp, RR_CMD, 1, 0, NULL);
break;
case 32:
llc_sendpdu(lp, RR_CMD, 1, 0, NULL);
break;
case 33:
llc_sendpdu(lp, RR_RSP, 1, 0, NULL);
break;
case 34:
llc_sendpdu(lp, RR_RSP, 1, 0, NULL);
break;
case 35:
llc_sendpdu(lp, RR_RSP, 0, 0, NULL);
break;
case 36:
if (IS_RSP(fr))
llc_sendpdu(lp, RR_CMD, 0, 0, NULL);
else
llc_sendpdu(lp, RR_RSP, 0, 0, NULL);
break;
case 37:
llc_sendpdu(lp, SABME_CMD, 0, 0, NULL);
lp->f_flag = 0;
break;
case 38:
llc_sendpdu(lp, UA_RSP, lp->f_flag, 0, NULL);
break;
case 39:
lp->s_flag = 0;
break;
case 40:
lp->s_flag = 1;
break;
case 41:
if(lp->timer_state[P_TIMER] == TIMER_RUNNING)
llc_stop_timer(lp, P_TIMER);
llc_start_timer(lp, P_TIMER);
if (lp->p_flag == 0)
{
lp->retry_count = 0;
lp->p_flag = 1;
}
break;
case 44:
if (lp->timer_state[ACK_TIMER] == TIMER_IDLE)
llc_start_timer(lp, ACK_TIMER);
break;
case 42:
llc_start_timer(lp, ACK_TIMER);
break;
case 43:
llc_start_timer(lp, REJ_TIMER);
break;
case 45:
llc_stop_timer(lp, ACK_TIMER);
break;
case 46:
llc_stop_timer(lp, ACK_TIMER);
lp->p_flag = 0;
break;
case 10:
if (lp->data_flag == 2)
llc_stop_timer(lp, REJ_TIMER);
break;
case 47:
llc_stop_timer(lp, REJ_TIMER);
break;
case 48:
llc_stop_timer(lp, ACK_TIMER);
llc_stop_timer(lp, P_TIMER);
llc_stop_timer(lp, REJ_TIMER);
llc_stop_timer(lp, BUSY_TIMER);
break;
case 49:
llc_stop_timer(lp, P_TIMER);
llc_stop_timer(lp, REJ_TIMER);
llc_stop_timer(lp, BUSY_TIMER);
break;
case 50:
ack_count = llc_free_acknowledged_skbs(lp,
(unsigned char) fr->s_hdr.nr);
if (ack_count > 0)
{
lp->retry_count = 0;
llc_stop_timer(lp, ACK_TIMER);
if (skb_peek(&lp->rtq) != NULL)
{
/*
* Re-transmit queue not empty
*/
llc_start_timer(lp, ACK_TIMER);
}
}
break;
case 51:
if (IS_UFRAME(fr))
p_flag_received = fr->u_hdr.u_pflag;
else
p_flag_received = fr->i_hdr.i_pflag;
if ((fr->pdu_hdr.ssap & 0x01) && (p_flag_received))
{
lp->p_flag = 0;
llc_stop_timer(lp, P_TIMER);
}
break;
case 52:
lp->data_flag = 2;
break;
case 53:
lp->data_flag = 0;
break;
case 54:
lp->data_flag = 1;
break;
case 55:
if (lp->data_flag == 0)
lp->data_flag = 1;
break;
case 56:
lp->p_flag = 0;
break;
case 57:
lp->p_flag = lp->f_flag;
break;
case 58:
lp->remote_busy = 0;
break;
case 59:
lp->retry_count = 0;
break;
case 60:
lp->retry_count++;
break;
case 61:
lp->vr = 0;
break;
case 62:
lp->vr++;
break;
case 63:
lp->vs = 0;
break;
case 64:
lp->vs = fr->i_hdr.nr;
break;
case 65:
if (IS_UFRAME(fr))
lp->f_flag = fr->u_hdr.u_pflag;
else
lp->f_flag = fr->i_hdr.i_pflag;
break;
default:;
}
pc++;
}
}
/*
* Process_otype2_frame will handle incoming frames
* for 802.2 Type 2 Procedure.
*/
void llc_process_otype2_frame(llcptr lp, struct sk_buff *skb, char type)
{
int idx; /* index in transition table */
int pc_label; /* action to perform, from tr tbl */
int validation; /* result of validate_seq_nos */
int p_flag_received; /* p_flag in received frame */
frameptr fr;
fr = (frameptr) skb->data;
if (IS_UFRAME(fr))
p_flag_received = fr->u_hdr.u_pflag;
else
p_flag_received = fr->i_hdr.i_pflag;
switch(lp->state)
{
/* Compute index in transition table: */
case ADM:
idx = type;
idx = (idx << 1) + p_flag_received;
break;
case CONN:
case RESET_WAIT:
case RESET_CHECK:
case ERROR:
idx = type;
break;
case SETUP:
case RESET:
case D_CONN:
idx = type;
idx = (idx << 1) + lp->p_flag;
break;
case NORMAL:
case BUSY:
case REJECT:
case AWAIT:
case AWAIT_BUSY:
case AWAIT_REJECT:
validation = llc_validate_seq_nos(lp, fr);
if (validation > 3)
type = BAD_FRAME;
idx = type;
idx = (idx << 1);
if (validation & 1)
idx = idx +1;
idx = (idx << 1) + p_flag_received;
idx = (idx << 1) + lp->p_flag;
default:
printk("llc_proc: bad state\n");
return;
}
idx = (idx << 1) + pdutr_offset[lp->state];
lp->state = pdutr_entry[idx +1];
pc_label = pdutr_entry[idx];
if (pc_label != 0)
{
llc_interpret_pseudo_code(lp, pc_label, skb, type);
if(lp->llc_callbacks)
{
lp->llc_event(lp);
lp->llc_callbacks=0;
}
/*
* lp may no longer be valid after this point. Be
* careful what is added!
*/
}
}
void llc_timer_expired(llcptr lp, int t)
{
int idx; /* index in transition table */
int pc_label; /* action to perform, from tr tbl */
lp->timer_state[t] = TIMER_EXPIRED;
idx = lp->state; /* Compute index in transition table: */
idx = (idx << 2) + t;
idx = idx << 1;
if (lp->retry_count >= lp->n2)
idx = idx + 1;
idx = (idx << 1) + lp->s_flag;
idx = (idx << 1) + lp->p_flag;
idx = idx << 1; /* 2 bytes per entry: action & newstate */
pc_label = timertr_entry[idx];
if (pc_label != 0)
{
llc_interpret_pseudo_code(lp, pc_label, NULL, NO_FRAME);
lp->state = timertr_entry[idx +1];
}
lp->timer_state[t] = TIMER_IDLE;
if(lp->llc_callbacks)
{
lp->llc_event(lp);
lp->llc_callbacks=0;
}
/*
* And lp may have vanished in the event callback
*/
}
...@@ -96,7 +96,7 @@ int llc_data_request(llcptr lp, struct sk_buff *skb) ...@@ -96,7 +96,7 @@ int llc_data_request(llcptr lp, struct sk_buff *skb)
else else
llc_interpret_pseudo_code(lp, REJECT1, skb, NO_FRAME); llc_interpret_pseudo_code(lp, REJECT1, skb, NO_FRAME);
break; break;
default: default:;
} }
if(lp->llc_callbacks) if(lp->llc_callbacks)
{ {
...@@ -497,7 +497,7 @@ void llc_interpret_pseudo_code(llcptr lp, int pc_label, struct sk_buff *skb, ...@@ -497,7 +497,7 @@ void llc_interpret_pseudo_code(llcptr lp, int pc_label, struct sk_buff *skb,
else else
lp->f_flag = fr->i_hdr.i_pflag; lp->f_flag = fr->i_hdr.i_pflag;
break; break;
default: default:;
} }
pc++; pc++;
} }
......
all: pseudocode.h actionnm.h
clean:
touch pseudocode.h actionnm.h
rm pseudocode.h actionnm.h
pseudocode.h: pseudocode opcd2num.sed compile.awk
sed -f opcd2num.sed pseudocode | awk -f compile.awk >pseudocode.h
actionnm.h: pseudocode.h actionnm.awk
awk -f actionnm.awk pseudocode.h>actionnm.h
/* this file generated on Thu Oct 24 11:42:37 GMT 1996 */
static char *action_names[] = {
"NOP" ,"ADM1" ,"ADM2" ,"ADM3" ,
"ADM4" ,"ADM5" ,"CONN2" ,"CONN3" ,
"CONN4" ,"CONN5" ,"RESWAIT1" ,"RESWAIT2" ,
"RESWAIT3" ,"RESWAIT4" ,"RESWAIT5" ,"RESWAIT6" ,
"RESWAIT7" ,"RESWAIT8" ,"RESCHK1" ,"RESCHK2" ,
"RESCHK3" ,"RESCHK4" ,"RESCHK5" ,"RESCHK6" ,
"SETUP1" ,"SETUP2" ,"SETUP3" ,"SETUP4" ,
"SETUP5" ,"SETUP6" ,"SETUP7" ,"SETUP8" ,
"RESET1" ,"RESET2" ,"RESET3" ,"RESET4" ,
"RESET5" ,"RESET6" ,"RESET7" ,"RESET8" ,
"D_CONN1" ,"D_CONN2" ,"D_CONN3" ,"D_CONN4" ,
"D_CONN5" ,"D_CONN6" ,"D_CONN7" ,"ERR1" ,
"ERR2" ,"ERR3" ,"ERR4" ,"ERR5" ,
"ERR6" ,"ERR7" ,"ERR8" ,"SH1" ,
"SH2" ,"SH3" ,"SH4" ,"SH5" ,
"SH6" ,"SH7" ,"SH8" ,"SH9" ,
"SH10" ,"SH11" ,"NORMAL1" ,"NORMAL2" ,
"NORMAL3" ,"NORMAL4" ,"NORMAL5" ,"NORMAL6" ,
"NORMAL7" ,"NORMAL8A" ,"NORMAL8B" ,"NORMAL9" ,
"NORMAL10" ,"NORMAL11" ,"NORMAL12" ,"NORMAL13" ,
"NORMAL14" ,"NORMAL15" ,"NORMAL16" ,"NORMAL17" ,
"NORMAL18" ,"NORMAL19" ,"NORMAL20" ,"BUSY1" ,
"BUSY2" ,"BUSY3" ,"BUSY4" ,"BUSY5" ,
"BUSY6" ,"BUSY7" ,"BUSY8" ,"BUSY9" ,
"BUSY10" ,"BUSY11" ,"BUSY12" ,"BUSY13" ,
"BUSY14" ,"BUSY15" ,"BUSY16" ,"BUSY17" ,
"BUSY18" ,"BUSY19" ,"BUSY20" ,"BUSY21" ,
"BUSY22" ,"BUSY23" ,"BUSY24" ,"BUSY25" ,
"BUSY26" ,"REJECT1" ,"REJECT2" ,"REJECT3" ,
"REJECT4" ,"REJECT5" ,"REJECT6" ,"REJECT7" ,
"REJECT8" ,"REJECT9" ,"REJECT10" ,"REJECT11" ,
"REJECT12" ,"REJECT13" ,"REJECT14" ,"REJECT15" ,
"REJECT16" ,"REJECT17" ,"REJECT18" ,"REJECT19" ,
"REJECT20" ,"AWAIT1" ,"AWAIT2" ,"AWAIT3" ,
"AWAIT4" ,"AWAIT5" ,"AWAIT6" ,"AWAIT7" ,
"AWAIT8" ,"AWAIT9" ,"AWAIT10" ,"AWAIT11" ,
"AWAIT12" ,"AWAIT13" ,"AWAIT14" ,"AWAIT_BUSY1" ,
"AWAIT_BUSY2" ,"AWAIT_BUSY3" ,"AWAIT_BUSY4" ,"AWAIT_BUSY5" ,
"AWAIT_BUSY6" ,"AWAIT_BUSY7" ,"AWAIT_BUSY8" ,"AWAIT_BUSY9" ,
"AWAIT_BUSY10" ,"AWAIT_BUSY11" ,"AWAIT_BUSY12" ,"AWAIT_BUSY13" ,
"AWAIT_BUSY14" ,"AWAIT_BUSY15" ,"AWAIT_BUSY16" ,"AWAIT_REJECT1" ,
"AWAIT_REJECT2" ,"AWAIT_REJECT3" ,"AWAIT_REJECT4" ,"AWAIT_REJECT5" ,
"AWAIT_REJECT6" ,"AWAIT_REJECT7" ,"AWAIT_REJECT8" ,"AWAIT_REJECT9" ,
"AWAIT_REJECT10" ,"AWAIT_REJECT11" ,"AWAIT_REJECT12" ,"AWAIT_REJECT13" ,
0
};
/* this file generated on Thu Oct 24 11:42:35 GMT 1996 */
static char pseudo_code [ ] = {
0, 37, 57, 42, 59, 39, 0, 65, 38,
63, 61, 59, 56, 58, 2, 0, 12, 0,
12, 0, 0, 0, 12, 0, 65, 0, 5,
0, 0, 0, 37, 57, 42, 59, 0, 38,
63, 61, 59, 56, 58, 7, 0, 11, 57,
42, 59, 0, 12, 0, 5, 0, 40, 65,
0, 12, 5, 0, 0, 0, 38, 63, 61,
59, 56, 58, 0, 12, 0, 5, 0, 65,
0, 12, 5, 0, 0, 0, 38, 63, 61,
59, 40, 0, 45, 63, 61, 59, 51, 3,
58, 0, 56, 3, 58, 0, 12, 5, 45,
0, 5, 45, 0, 0, 0, 37, 57, 42,
60, 0, 5, 0, 38, 63, 61, 59, 40,
0, 45, 63, 61, 59, 51, 7, 58, 0,
56, 7, 58, 0, 12, 5, 45, 0, 5,
45, 0, 0, 0, 37, 57, 42, 60, 0,
5, 0, 12, 45, 0, 45, 0, 38, 0,
45, 0, 0, 0, 11, 57, 42, 60, 0,
0, 0, 71, 45, 65, 0, 38, 5, 45,
0, 5, 45, 0, 70, 45, 66, 39, 0,
15, 42, 0, 0, 0, 14, 42, 60, 0,
39, 70, 0, 11, 57, 42, 49, 59, 0,
37, 57, 42, 49, 59, 39, 0, 71, 65,
48, 0, 38, 5, 48, 0, 48, 70, 66,
39, 0, 5, 48, 0, 13, 67, 42, 49,
59, 0, 0, 67, 42, 49, 59, 0, 0,
67, 42, 49, 59, 0, 13, 67, 42, 49,
59, 0, 48, 70, 39, 0, 16, 41, 44,
0, 19, 44, 0, 26, 41, 53, 0, 28,
53, 0, 25, 50, 51, 43, 9, 0, 25,
50, 43, 0, 24, 50, 43, 0, 62, 32,
41, 50, 9, 4, 0, 62, 51, 36, 50,
9, 4, 0, 62, 36, 50, 4, 0, 62,
34, 50, 4, 0, 51, 50, 1, 0, 34,
50, 1, 0, 51, 50, 29, 0, 33, 50,
29, 0, 64, 50, 51, 20, 1, 0, 64,
50, 20, 1, 0, 64, 50, 22, 1, 0,
31, 41, 0, 56, 0, 31, 41, 60, 0,
16, 41, 44, 0, 19, 44, 0, 23, 43,
41, 0, 25, 43, 0, 31, 41, 35, 0,
35, 0, 31, 41, 35, 0, 35, 0, 30,
51, 50, 55, 9, 0, 30, 50, 55, 0,
27, 50, 55, 0, 27, 50, 10, 54, 0,
30, 51, 50, 10, 54, 9, 0, 30, 50,
10, 54, 0, 51, 50, 1, 0, 27, 50,
1, 0, 51, 50, 29, 0, 27, 50, 29,
0, 64, 50, 51, 20, 1, 0, 64, 50,
20, 1, 0, 64, 50, 27, 20, 1, 0,
26, 41, 0, 56, 0, 26, 41, 60, 0,
54, 0, 54, 0, 16, 41, 44, 0, 19,
44, 0, 26, 41, 52, 0, 28, 52, 0,
50, 51, 9, 0, 33, 50, 0, 62, 32,
41, 50, 9, 47, 4, 0, 62, 36, 50,
47, 4, 0, 62, 34, 50, 47, 4, 0,
51, 50, 1, 0, 34, 50, 1, 0, 51,
50, 29, 0, 33, 50, 29, 0, 64, 50,
51, 20, 1, 0, 64, 50, 20, 1, 0,
64, 50, 22, 1, 0, 31, 41, 0, 23,
41, 43, 60, 0, 56, 0, 31, 41, 43,
60, 0, 28, 53, 0, 25, 50, 64, 46,
20, 43, 1, 0, 25, 50, 43, 0, 24,
50, 43, 0, 62, 50, 64, 18, 41, 1,
4, 0, 62, 35, 50, 4, 0, 62, 33,
50, 4, 0, 50, 64, 46, 20, 1, 0,
50, 1, 0, 33, 50, 1, 0, 50, 64,
46, 29, 0, 50, 29, 0, 33, 50, 29,
0, 31, 41, 60, 0, 25, 43, 0, 35,
0, 35, 0, 30, 50, 64, 46, 54, 1,
20, 0, 30, 50, 54, 0, 27, 50, 54,
0, 30, 50, 64, 54, 46, 1, 20, 0,
30, 50, 54, 0, 27, 50, 54, 0, 50,
64, 46, 20, 1, 0, 50, 1, 0, 27,
50, 1, 0, 50, 64, 46, 29, 0, 50,
29, 0, 27, 50, 29, 0, 26, 41, 60,
0, 28, 52, 0, 50, 0, 33, 50, 0,
62, 50, 64, 18, 41, 47, 1, 4, 0,
62, 35, 47, 50, 4, 0, 62, 33, 47,
50, 4, 0, 50, 64, 46, 20, 1, 0,
50, 1, 0, 33, 50, 1, 0, 50, 64,
46, 29, 0, 50, 29, 0, 33, 50, 29,
0, 23, 41, 60, 0
};
static short int pseudo_code_idx [ ] ={
0, 1, 7, 16, 18, 20, 22, 24, 26,
28, 30, 35, 43, 48, 50, 52, 55, 58,
60, 67, 69, 71, 73, 76, 78, 84, 92,
96, 100, 103, 105, 110, 112, 118, 126, 130,
134, 137, 139, 144, 146, 149, 151, 153, 155,
157, 162, 164, 168, 172, 175, 180, 183, 185,
189, 192, 198, 205, 209, 213, 218, 221, 227,
233, 239, 245, 249, 253, 256, 260, 263, 269,
273, 277, 284, 291, 296, 301, 305, 309, 313,
317, 323, 328, 333, 336, 338, 342, 346, 349,
353, 356, 360, 362, 366, 368, 374, 378, 382,
387, 394, 399, 403, 407, 411, 415, 421, 426,
432, 435, 437, 441, 443, 445, 449, 452, 456,
459, 463, 466, 474, 480, 486, 490, 494, 498,
502, 508, 513, 518, 521, 526, 528, 533, 536,
544, 548, 552, 560, 565, 570, 576, 579, 583,
588, 591, 595, 599, 602, 604, 606, 614, 618,
622, 630, 634, 638, 644, 647, 651, 656, 659,
663, 667, 670, 672, 675, 684, 690, 696, 702,
705, 709, 714, 717, 721, 0
};
#define NOP 0
#define ADM1 1
#define ADM2 2
#define ADM3 3
#define ADM4 4
#define ADM5 5
#define CONN2 6
#define CONN3 7
#define CONN4 8
#define CONN5 9
#define RESWAIT1 10
#define RESWAIT2 11
#define RESWAIT3 12
#define RESWAIT4 13
#define RESWAIT5 14
#define RESWAIT6 15
#define RESWAIT7 16
#define RESWAIT8 17
#define RESCHK1 18
#define RESCHK2 19
#define RESCHK3 20
#define RESCHK4 21
#define RESCHK5 22
#define RESCHK6 23
#define SETUP1 24
#define SETUP2 25
#define SETUP3 26
#define SETUP4 27
#define SETUP5 28
#define SETUP6 29
#define SETUP7 30
#define SETUP8 31
#define RESET1 32
#define RESET2 33
#define RESET3 34
#define RESET4 35
#define RESET5 36
#define RESET6 37
#define RESET7 38
#define RESET8 39
#define D_CONN1 40
#define D_CONN2 41
#define D_CONN3 42
#define D_CONN4 43
#define D_CONN5 44
#define D_CONN6 45
#define D_CONN7 46
#define ERR1 47
#define ERR2 48
#define ERR3 49
#define ERR4 50
#define ERR5 51
#define ERR6 52
#define ERR7 53
#define ERR8 54
#define SH1 55
#define SH2 56
#define SH3 57
#define SH4 58
#define SH5 59
#define SH6 60
#define SH7 61
#define SH8 62
#define SH9 63
#define SH10 64
#define SH11 65
#define NORMAL1 66
#define NORMAL2 67
#define NORMAL3 68
#define NORMAL4 69
#define NORMAL5 70
#define NORMAL6 71
#define NORMAL7 72
#define NORMAL8A 73
#define NORMAL8B 74
#define NORMAL9 75
#define NORMAL10 76
#define NORMAL11 77
#define NORMAL12 78
#define NORMAL13 79
#define NORMAL14 80
#define NORMAL15 81
#define NORMAL16 82
#define NORMAL17 83
#define NORMAL18 84
#define NORMAL19 85
#define NORMAL20 86
#define BUSY1 87
#define BUSY2 88
#define BUSY3 89
#define BUSY4 90
#define BUSY5 91
#define BUSY6 92
#define BUSY7 93
#define BUSY8 94
#define BUSY9 95
#define BUSY10 96
#define BUSY11 97
#define BUSY12 98
#define BUSY13 99
#define BUSY14 100
#define BUSY15 101
#define BUSY16 102
#define BUSY17 103
#define BUSY18 104
#define BUSY19 105
#define BUSY20 106
#define BUSY21 107
#define BUSY22 108
#define BUSY23 109
#define BUSY24 110
#define BUSY25 111
#define BUSY26 112
#define REJECT1 113
#define REJECT2 114
#define REJECT3 115
#define REJECT4 116
#define REJECT5 117
#define REJECT6 118
#define REJECT7 119
#define REJECT8 120
#define REJECT9 121
#define REJECT10 122
#define REJECT11 123
#define REJECT12 124
#define REJECT13 125
#define REJECT14 126
#define REJECT15 127
#define REJECT16 128
#define REJECT17 129
#define REJECT18 130
#define REJECT19 131
#define REJECT20 132
#define AWAIT1 133
#define AWAIT2 134
#define AWAIT3 135
#define AWAIT4 136
#define AWAIT5 137
#define AWAIT6 138
#define AWAIT7 139
#define AWAIT8 140
#define AWAIT9 141
#define AWAIT10 142
#define AWAIT11 143
#define AWAIT12 144
#define AWAIT13 145
#define AWAIT14 146
#define AWAIT_BUSY1 147
#define AWAIT_BUSY2 148
#define AWAIT_BUSY3 149
#define AWAIT_BUSY4 150
#define AWAIT_BUSY5 151
#define AWAIT_BUSY6 152
#define AWAIT_BUSY7 153
#define AWAIT_BUSY8 154
#define AWAIT_BUSY9 155
#define AWAIT_BUSY10 156
#define AWAIT_BUSY11 157
#define AWAIT_BUSY12 158
#define AWAIT_BUSY13 159
#define AWAIT_BUSY14 160
#define AWAIT_BUSY15 161
#define AWAIT_BUSY16 162
#define AWAIT_REJECT1 163
#define AWAIT_REJECT2 164
#define AWAIT_REJECT3 165
#define AWAIT_REJECT4 166
#define AWAIT_REJECT5 167
#define AWAIT_REJECT6 168
#define AWAIT_REJECT7 169
#define AWAIT_REJECT8 170
#define AWAIT_REJECT9 171
#define AWAIT_REJECT10 172
#define AWAIT_REJECT11 173
#define AWAIT_REJECT12 174
#define AWAIT_REJECT13 175
include $(TOPDIR)/Rules.make
all: pdutr.h timertr.h
pdutr.h: pdutr.pre compile.awk
awk -f ./compile.awk pdutr.pre > pdutr.h
timertr.h: timertr.pre compile.awk
awk -f ./compile.awk timertr.pre > timertr.h
clean:
touch pdutr.h timertr.h
rm pdutr.h timertr.h
/* this file was generated on Thu Jan 8 00:21:19 GMT 1998 */
/* index name #defines: */
#define ADM 0
#define CONN 1
#define RESET_WAIT 2
#define RESET_CHECK 3
#define SETUP 4
#define RESET 5
#define D_CONN 6
#define ERROR 7
#define NORMAL 8
#define BUSY 9
#define REJECT 10
#define AWAIT 11
#define AWAIT_BUSY 12
#define AWAIT_REJECT 13
/* size of transition table is 1684 bytes */
static short int pdutr_offset [ ] ={
0, 54, 82, 110, 138, 192, 246, 300, 328, 554,
780, 1006, 1232, 1458 };
static char pdutr_entry [ ] = {
ADM5 , ADM , ADM4 , ADM , ADM5 , ADM ,
ADM4 , ADM , ADM5 , ADM , ADM4 , ADM ,
ADM5 , ADM , ADM4 , ADM , ADM3 , ADM ,
ADM3 , ADM , ADM2 , CONN , ADM2 , CONN ,
ADM5 , ADM , ADM5 , ADM , ADM5 , ADM ,
ADM5 , ADM , ADM5 , ADM , ADM5 , ADM ,
ADM5 , ADM , ADM5 , ADM , ADM5 , ADM ,
ADM5 , ADM , ADM5 , ADM , ADM5 , ADM ,
ADM5 , ADM , ADM5 , ADM , ADM5 , ADM ,
CONN5 , CONN , CONN5 , CONN , CONN5 , CONN ,
CONN5 , CONN , CONN5 , CONN , CONN3 , CONN ,
CONN5 , CONN , CONN5 , CONN , CONN5 , CONN ,
CONN5 , CONN , CONN5 , CONN , CONN4 , ADM ,
CONN5 , CONN , CONN5 , CONN , RESWAIT8 , RESET_WAIT ,
RESWAIT8 , RESET_WAIT , RESWAIT8 , RESET_WAIT , RESWAIT8 , RESET_WAIT ,
RESWAIT7 , RESET_WAIT , RESWAIT6 , RESET_WAIT , RESWAIT8 , RESET_WAIT ,
RESWAIT8 , RESET_WAIT , RESWAIT8 , RESET_WAIT , RESWAIT8 , RESET_WAIT ,
RESWAIT8 , RESET_WAIT , RESWAIT5 , ADM , RESWAIT8 , RESET_WAIT ,
RESWAIT8 , RESET_WAIT , RESCHK6 , RESET_CHECK , RESCHK6 , RESET_CHECK ,
RESCHK6 , RESET_CHECK , RESCHK6 , RESET_CHECK , RESCHK5 , ADM ,
RESCHK4 , RESET_CHECK , RESCHK6 , RESET_CHECK , RESCHK6 , RESET_CHECK ,
RESCHK6 , RESET_CHECK , RESCHK6 , RESET_CHECK , RESCHK6 , RESET_CHECK ,
RESCHK3 , ADM , RESCHK6 , RESET_CHECK , RESCHK6 , RESET_CHECK ,
SETUP6 , SETUP , SETUP6 , SETUP , SETUP6 , SETUP ,
SETUP6 , SETUP , SETUP6 , SETUP , SETUP6 , SETUP ,
SETUP6 , SETUP , SETUP6 , SETUP , SETUP4 , ADM ,
SETUP4 , ADM , SETUP1 , SETUP , SETUP1 , SETUP ,
SETUP6 , SETUP , SETUP6 , SETUP , SETUP6 , SETUP ,
SETUP6 , SETUP , SETUP6 , SETUP , SETUP6 , SETUP ,
SETUP6 , SETUP , SETUP6 , SETUP , SETUP6 , SETUP ,
SETUP2 , NORMAL , SETUP5 , ADM , SETUP5 , ADM ,
SETUP6 , SETUP , SETUP6 , SETUP , SETUP6 , SETUP ,
RESET6 , RESET , RESET6 , RESET , RESET6 , RESET ,
RESET6 , RESET , RESET6 , RESET , RESET6 , RESET ,
RESET6 , RESET , RESET6 , RESET , RESET4 , ADM ,
RESET4 , ADM , RESET1 , RESET , RESET1 , RESET ,
RESET6 , RESET , RESET6 , RESET , RESET6 , RESET ,
RESET6 , RESET , RESET6 , RESET , RESET6 , RESET ,
RESET6 , RESET , RESET6 , RESET , RESET6 , RESET ,
RESET2 , NORMAL , RESET5 , ADM , RESET5 , ADM ,
RESET6 , RESET , RESET6 , RESET , RESET6 , RESET ,
D_CONN5 , D_CONN , D_CONN5 , D_CONN , D_CONN5 , D_CONN ,
D_CONN5 , D_CONN , D_CONN5 , D_CONN , D_CONN5 , D_CONN ,
D_CONN5 , D_CONN , D_CONN5 , D_CONN , D_CONN3 , D_CONN ,
D_CONN3 , D_CONN , D_CONN1 , ADM , D_CONN1 , ADM ,
D_CONN5 , D_CONN , D_CONN5 , D_CONN , D_CONN5 , D_CONN ,
D_CONN5 , D_CONN , D_CONN5 , D_CONN , D_CONN5 , D_CONN ,
D_CONN5 , D_CONN , D_CONN5 , D_CONN , D_CONN5 , D_CONN ,
D_CONN4 , ADM , D_CONN4 , ADM , D_CONN5 , ADM ,
D_CONN5 , D_CONN , D_CONN5 , D_CONN , D_CONN5 , D_CONN ,
ERR5 , ERROR , ERR5 , ERROR , ERR5 , ERROR ,
ERR5 , ERROR , ERR2 , ADM , ERR1 , RESET_CHECK ,
ERR6 , ERROR , ERR6 , ERROR , ERR6 , ERROR ,
ERR6 , ERROR , ERR6 , ERROR , ERR3 , ADM ,
ERR4 , RESET_WAIT , ERR4 , RESET_WAIT , NORMAL8B , NORMAL ,
NORMAL9 , NORMAL , NORMAL10 , NORMAL , NORMAL10 , NORMAL ,
NORMAL5 , REJECT , NORMAL6 , REJECT , NORMAL7 , REJECT ,
NORMAL7 , REJECT , NORMAL11 , NORMAL , NORMAL11 , NORMAL ,
NORMAL12 , NORMAL , NORMAL12 , NORMAL , NORMAL11 , NORMAL ,
NORMAL11 , NORMAL , NORMAL12 , NORMAL , NORMAL12 , NORMAL ,
NORMAL13 , NORMAL , NORMAL13 , NORMAL , NORMAL14 , NORMAL ,
NORMAL14 , NORMAL , NORMAL13 , NORMAL , NORMAL13 , NORMAL ,
NORMAL14 , NORMAL , NORMAL14 , NORMAL , NORMAL15 , NORMAL ,
NORMAL16 , NORMAL , NORMAL17 , NORMAL , NORMAL17 , NORMAL ,
NORMAL15 , NORMAL , NORMAL16 , NORMAL , NORMAL17 , NORMAL ,
NORMAL17 , NORMAL , SH4 , ADM , SH4 , ADM ,
SH4 , ADM , SH4 , ADM , SH4 , ADM ,
SH4 , ADM , SH4 , ADM , SH4 , ADM ,
SH3 , RESET_CHECK , SH3 , RESET_CHECK , SH3 , RESET_CHECK ,
SH3 , RESET_CHECK , SH3 , RESET_CHECK , SH3 , RESET_CHECK ,
SH3 , RESET_CHECK , SH3 , RESET_CHECK , NORMAL8B , NORMAL ,
NORMAL9 , NORMAL , SH10 , ERROR , NORMAL8A , NORMAL ,
NORMAL5 , REJECT , NORMAL6 , REJECT , SH10 , ERROR ,
NORMAL5 , REJECT , NORMAL11 , NORMAL , NORMAL11 , NORMAL ,
SH10 , ERROR , NORMAL11 , NORMAL , NORMAL11 , NORMAL ,
NORMAL11 , NORMAL , SH10 , ERROR , NORMAL11 , NORMAL ,
NORMAL13 , NORMAL , NORMAL13 , NORMAL , SH10 , ERROR ,
NORMAL13 , NORMAL , NORMAL13 , NORMAL , NORMAL13 , NORMAL ,
SH10 , ERROR , NORMAL13 , NORMAL , NORMAL15 , NORMAL ,
NORMAL16 , NORMAL , SH10 , ERROR , NORMAL15 , NORMAL ,
NORMAL15 , NORMAL , NORMAL16 , NORMAL , SH10 , ERROR ,
NORMAL15 , NORMAL , SH9 , ERROR , SH9 , ERROR ,
SH9 , ERROR , SH9 , ERROR , SH9 , ERROR ,
SH9 , ERROR , SH9 , ERROR , SH9 , ERROR ,
SH6 , ADM , SH6 , ADM , SH6 , ADM ,
SH6 , ADM , SH6 , ADM , SH6 , ADM ,
SH6 , ADM , SH6 , ADM , SH5 , RESET_WAIT ,
SH5 , RESET_WAIT , SH5 , RESET_WAIT , SH5 , RESET_WAIT ,
SH5 , RESET_WAIT , SH5 , RESET_WAIT , SH5 , RESET_WAIT ,
SH5 , RESET_WAIT , SH7 , ERROR , SH7 , ERROR ,
SH7 , ERROR , SH7 , ERROR , SH7 , ERROR ,
SH7 , ERROR , SH7 , ERROR , SH7 , ERROR ,
SH7 , ERROR , BUSY13 , BUSY , BUSY14 , BUSY ,
BUSY12 , BUSY , BUSY12 , BUSY , BUSY9 , BUSY ,
BUSY10 , BUSY , BUSY11 , BUSY , BUSY11 , BUSY ,
BUSY15 , BUSY , BUSY15 , BUSY , BUSY16 , BUSY ,
BUSY16 , BUSY , BUSY15 , BUSY , BUSY15 , BUSY ,
BUSY16 , BUSY , BUSY16 , BUSY , BUSY17 , BUSY ,
BUSY17 , BUSY , BUSY18 , BUSY , BUSY18 , BUSY ,
BUSY17 , BUSY , BUSY17 , BUSY , BUSY18 , BUSY ,
BUSY18 , BUSY , BUSY19 , BUSY , BUSY20 , BUSY ,
BUSY21 , BUSY , BUSY21 , BUSY , BUSY19 , BUSY ,
BUSY20 , BUSY , BUSY21 , BUSY , BUSY21 , BUSY ,
SH4 , ADM , SH4 , ADM , SH4 , ADM ,
SH4 , ADM , SH4 , ADM , SH4 , ADM ,
SH4 , ADM , SH4 , ADM , SH3 , RESET_CHECK ,
SH3 , RESET_CHECK , SH3 , RESET_CHECK , SH3 , RESET_CHECK ,
SH3 , RESET_CHECK , SH3 , RESET_CHECK , SH3 , RESET_CHECK ,
SH3 , RESET_CHECK , BUSY13 , BUSY , BUSY14 , BUSY ,
SH10 , ERROR , BUSY13 , BUSY , BUSY9 , BUSY ,
BUSY10 , BUSY , SH10 , ERROR , BUSY9 , BUSY ,
BUSY15 , BUSY , BUSY15 , BUSY , SH10 , ERROR ,
BUSY15 , BUSY , BUSY15 , BUSY , BUSY15 , BUSY ,
SH10 , ERROR , BUSY15 , BUSY , BUSY17 , BUSY ,
BUSY17 , BUSY , SH10 , ERROR , BUSY17 , BUSY ,
BUSY17 , BUSY , BUSY17 , BUSY , SH10 , ERROR ,
BUSY17 , BUSY , BUSY19 , BUSY , BUSY20 , BUSY ,
SH10 , ERROR , BUSY19 , BUSY , BUSY19 , BUSY ,
BUSY20 , BUSY , SH10 , ERROR , BUSY19 , BUSY ,
SH9 , ERROR , SH9 , ERROR , SH9 , ERROR ,
SH9 , ERROR , SH9 , ERROR , SH9 , ERROR ,
SH9 , ERROR , SH9 , ERROR , SH6 , ADM ,
SH6 , ADM , SH6 , ADM , SH6 , ADM ,
SH6 , ADM , SH6 , ADM , SH6 , ADM ,
SH6 , ADM , SH5 , RESET_WAIT , SH5 , RESET_WAIT ,
SH5 , RESET_WAIT , SH5 , RESET_WAIT , SH5 , RESET_WAIT ,
SH5 , RESET_WAIT , SH5 , RESET_WAIT , SH5 , RESET_WAIT ,
SH7 , ERROR , SH7 , ERROR , SH7 , ERROR ,
SH7 , ERROR , SH7 , ERROR , SH7 , ERROR ,
SH7 , ERROR , SH7 , ERROR , SH7 , ERROR ,
REJECT7 , REJECT , REJECT8 , REJECT , REJECT9 , REJECT ,
REJECT9 , REJECT , REJECT5 , REJECT , REJECT5 , REJECT ,
REJECT6 , REJECT , REJECT6 , REJECT , REJECT10 , REJECT ,
REJECT10 , REJECT , REJECT11 , REJECT , REJECT11 , REJECT ,
REJECT10 , REJECT , REJECT10 , REJECT , REJECT11 , REJECT ,
REJECT11 , REJECT , REJECT12 , REJECT , REJECT12 , REJECT ,
REJECT13 , REJECT , REJECT13 , REJECT , REJECT12 , REJECT ,
REJECT12 , REJECT , REJECT13 , REJECT , REJECT13 , REJECT ,
REJECT14 , REJECT , REJECT15 , REJECT , REJECT16 , REJECT ,
REJECT16 , REJECT , REJECT14 , REJECT , REJECT15 , REJECT ,
REJECT16 , REJECT , REJECT16 , REJECT , SH4 , ADM ,
SH4 , ADM , SH4 , ADM , SH4 , ADM ,
SH4 , ADM , SH4 , ADM , SH4 , ADM ,
SH4 , ADM , SH3 , RESET_CHECK , SH3 , RESET_CHECK ,
SH3 , RESET_CHECK , SH3 , RESET_CHECK , SH3 , RESET_CHECK ,
SH3 , RESET_CHECK , SH3 , RESET_CHECK , SH3 , RESET_CHECK ,
REJECT7 , REJECT , REJECT8 , REJECT , SH10 , ERROR ,
REJECT7 , REJECT , REJECT5 , REJECT , REJECT5 , REJECT ,
SH10 , ERROR , REJECT5 , REJECT , REJECT10 , REJECT ,
REJECT10 , REJECT , SH10 , ERROR , REJECT10 , REJECT ,
REJECT10 , REJECT , REJECT10 , REJECT , SH10 , ERROR ,
REJECT10 , REJECT , REJECT12 , REJECT , REJECT12 , REJECT ,
SH10 , ERROR , REJECT12 , REJECT , REJECT12 , REJECT ,
REJECT12 , REJECT , SH10 , ERROR , REJECT12 , REJECT ,
REJECT14 , REJECT , REJECT15 , REJECT , SH10 , ERROR ,
REJECT14 , REJECT , REJECT14 , REJECT , REJECT15 , REJECT ,
SH10 , ERROR , REJECT14 , REJECT , SH9 , ERROR ,
SH9 , ERROR , SH9 , ERROR , SH9 , ERROR ,
SH9 , ERROR , SH9 , ERROR , SH9 , ERROR ,
SH9 , ERROR , SH6 , ADM , SH6 , ADM ,
SH6 , ADM , SH6 , ADM , SH6 , ADM ,
SH6 , ADM , SH6 , ADM , SH6 , ADM ,
SH5 , RESET_WAIT , SH5 , RESET_WAIT , SH5 , RESET_WAIT ,
SH5 , RESET_WAIT , SH5 , RESET_WAIT , SH5 , RESET_WAIT ,
SH5 , RESET_WAIT , SH5 , RESET_WAIT , SH7 , ERROR ,
SH7 , ERROR , SH7 , ERROR , SH7 , ERROR ,
SH7 , ERROR , SH7 , ERROR , SH7 , ERROR ,
SH7 , ERROR , SH7 , ERROR , AWAIT6 , AWAIT ,
AWAIT6 , AWAIT , AWAIT7 , AWAIT , AWAIT7 , AWAIT ,
AWAIT3 , AWAIT_REJECT , AWAIT3 , AWAIT_REJECT , AWAIT4 , AWAIT_REJECT ,
AWAIT4 , AWAIT_REJECT , AWAIT9 , AWAIT , AWAIT9 , AWAIT ,
AWAIT10 , AWAIT , AWAIT10 , AWAIT , AWAIT9 , AWAIT ,
AWAIT9 , AWAIT , AWAIT10 , AWAIT , AWAIT10 , AWAIT ,
AWAIT12 , AWAIT , AWAIT12 , AWAIT , AWAIT13 , AWAIT ,
AWAIT13 , AWAIT , AWAIT12 , AWAIT , AWAIT12 , AWAIT ,
AWAIT13 , AWAIT , AWAIT13 , AWAIT , AWAIT9 , AWAIT ,
AWAIT9 , AWAIT , AWAIT10 , AWAIT , AWAIT10 , AWAIT ,
AWAIT9 , AWAIT , AWAIT9 , AWAIT , AWAIT10 , AWAIT ,
AWAIT10 , AWAIT , SH4 , ADM , SH4 , ADM ,
SH4 , ADM , SH4 , ADM , SH4 , ADM ,
SH4 , ADM , SH4 , ADM , SH4 , ADM ,
SH3 , RESET_CHECK , SH3 , RESET_CHECK , SH3 , RESET_CHECK ,
SH3 , RESET_CHECK , SH3 , RESET_CHECK , SH3 , RESET_CHECK ,
SH3 , RESET_CHECK , SH3 , RESET_CHECK , AWAIT6 , AWAIT ,
AWAIT6 , AWAIT , SH10 , ERROR , AWAIT5 , NORMAL ,
AWAIT3 , AWAIT_REJECT , AWAIT3 , AWAIT_REJECT , SH10 , ERROR ,
AWAIT2 , REJECT , AWAIT9 , AWAIT , AWAIT9 , AWAIT ,
SH10 , ERROR , AWAIT8 , AWAIT , AWAIT9 , AWAIT ,
AWAIT9 , AWAIT , SH10 , ERROR , AWAIT8 , AWAIT ,
AWAIT12 , AWAIT , AWAIT12 , AWAIT , SH10 , ERROR ,
AWAIT11 , AWAIT , AWAIT12 , AWAIT , AWAIT12 , AWAIT ,
SH10 , ERROR , AWAIT11 , AWAIT , AWAIT9 , AWAIT ,
AWAIT9 , AWAIT , SH10 , ERROR , AWAIT8 , AWAIT ,
AWAIT9 , AWAIT , AWAIT9 , AWAIT , SH10 , ERROR ,
AWAIT8 , AWAIT , SH9 , ERROR , SH9 , ERROR ,
SH9 , ERROR , SH9 , ERROR , SH9 , ERROR ,
SH9 , ERROR , SH9 , ERROR , SH9 , ERROR ,
SH6 , ADM , SH6 , ADM , SH6 , ADM ,
SH6 , ADM , SH6 , ADM , SH6 , ADM ,
SH6 , ADM , SH6 , ADM , SH5 , RESET_WAIT ,
SH5 , RESET_WAIT , SH5 , RESET_WAIT , SH5 , RESET_WAIT ,
SH5 , RESET_WAIT , SH5 , RESET_WAIT , SH5 , RESET_WAIT ,
SH5 , RESET_WAIT , SH7 , ERROR , SH7 , ERROR ,
SH7 , ERROR , SH7 , ERROR , SH7 , ERROR ,
SH7 , ERROR , SH7 , ERROR , SH7 , ERROR ,
SH7 , ERROR , AWAIT_BUSY8 , AWAIT_BUSY , AWAIT_BUSY8 , AWAIT_BUSY ,
AWAIT_BUSY9 , AWAIT_BUSY , AWAIT_BUSY9 , AWAIT_BUSY , AWAIT_BUSY5 , AWAIT_BUSY ,
AWAIT_BUSY5 , AWAIT_BUSY , AWAIT_BUSY6 , AWAIT_BUSY , AWAIT_BUSY6 , AWAIT_BUSY ,
AWAIT_BUSY11 , AWAIT_BUSY , AWAIT_BUSY11 , AWAIT_BUSY , AWAIT_BUSY12 , AWAIT_BUSY ,
AWAIT_BUSY12 , AWAIT_BUSY , AWAIT_BUSY11 , AWAIT_BUSY , AWAIT_BUSY11 , AWAIT_BUSY ,
AWAIT_BUSY12 , AWAIT_BUSY , AWAIT_BUSY12 , AWAIT_BUSY , AWAIT_BUSY14 , AWAIT_BUSY ,
AWAIT_BUSY14 , AWAIT_BUSY , AWAIT_BUSY15 , AWAIT_BUSY , AWAIT_BUSY15 , AWAIT_BUSY ,
AWAIT_BUSY14 , AWAIT_BUSY , AWAIT_BUSY14 , AWAIT_BUSY , AWAIT_BUSY15 , AWAIT_BUSY ,
AWAIT_BUSY15 , AWAIT_BUSY , AWAIT_BUSY11 , AWAIT_BUSY , AWAIT_BUSY11 , AWAIT_BUSY ,
AWAIT_BUSY12 , AWAIT_BUSY , AWAIT_BUSY12 , AWAIT_BUSY , AWAIT_BUSY11 , AWAIT_BUSY ,
AWAIT_BUSY11 , AWAIT_BUSY , AWAIT_BUSY12 , AWAIT_BUSY , AWAIT_BUSY12 , AWAIT_BUSY ,
SH4 , ADM , SH4 , ADM , SH4 , ADM ,
SH4 , ADM , SH4 , ADM , SH4 , ADM ,
SH4 , ADM , SH4 , ADM , SH3 , RESET_CHECK ,
SH3 , RESET_CHECK , SH3 , RESET_CHECK , SH3 , RESET_CHECK ,
SH3 , RESET_CHECK , SH3 , RESET_CHECK , SH3 , RESET_CHECK ,
SH3 , RESET_CHECK , AWAIT_BUSY8 , AWAIT_BUSY , AWAIT_BUSY8 , AWAIT_BUSY ,
SH10 , ERROR , AWAIT_BUSY7 , BUSY , AWAIT_BUSY5 , AWAIT_BUSY ,
AWAIT_BUSY5 , AWAIT_BUSY , SH10 , ERROR , AWAIT_BUSY4 , BUSY ,
AWAIT_BUSY11 , AWAIT_BUSY , AWAIT_BUSY11 , AWAIT_BUSY , SH10 , ERROR ,
AWAIT_BUSY10 , BUSY , AWAIT_BUSY11 , AWAIT_BUSY , AWAIT_BUSY11 , AWAIT_BUSY ,
SH10 , ERROR , AWAIT_BUSY10 , BUSY , AWAIT_BUSY14 , AWAIT_BUSY ,
AWAIT_BUSY14 , AWAIT_BUSY , SH10 , ERROR , AWAIT_BUSY13 , BUSY ,
AWAIT_BUSY14 , AWAIT_BUSY , AWAIT_BUSY14 , AWAIT_BUSY , SH10 , ERROR ,
AWAIT_BUSY13 , BUSY , AWAIT_BUSY11 , AWAIT_BUSY , AWAIT_BUSY11 , AWAIT_BUSY ,
SH10 , ERROR , AWAIT_BUSY10 , BUSY , AWAIT_BUSY11 , AWAIT_BUSY ,
AWAIT_BUSY11 , AWAIT_BUSY , SH10 , ERROR , AWAIT_BUSY10 , BUSY ,
SH9 , ERROR , SH9 , ERROR , SH9 , ERROR ,
SH9 , ERROR , SH9 , ERROR , SH9 , ERROR ,
SH9 , ERROR , SH9 , ERROR , SH6 , ADM ,
SH6 , ADM , SH6 , ADM , SH6 , ADM ,
SH6 , ADM , SH6 , ADM , SH6 , ADM ,
SH6 , ADM , SH5 , RESET_WAIT , SH5 , RESET_WAIT ,
SH5 , RESET_WAIT , SH5 , RESET_WAIT , SH5 , RESET_WAIT ,
SH5 , RESET_WAIT , SH5 , RESET_WAIT , SH5 , RESET_WAIT ,
SH7 , ERROR , SH7 , ERROR , SH7 , ERROR ,
SH7 , ERROR , SH7 , ERROR , SH7 , ERROR ,
SH7 , ERROR , SH7 , ERROR , SH7 , ERROR ,
AWAIT_REJECT5 , AWAIT , AWAIT_REJECT5 , AWAIT , AWAIT_REJECT6 , AWAIT ,
AWAIT_REJECT6 , AWAIT , AWAIT_REJECT2 , AWAIT_REJECT , AWAIT_REJECT2 , AWAIT_REJECT ,
AWAIT_REJECT3 , AWAIT_REJECT , AWAIT_REJECT3 , AWAIT_REJECT , AWAIT_REJECT8 , AWAIT_REJECT ,
AWAIT_REJECT8 , AWAIT_REJECT , AWAIT_REJECT9 , AWAIT_REJECT , AWAIT_REJECT9 , AWAIT_REJECT ,
AWAIT_REJECT8 , AWAIT_REJECT , AWAIT_REJECT8 , AWAIT_REJECT , AWAIT_REJECT9 , AWAIT_REJECT ,
AWAIT_REJECT9 , AWAIT_REJECT , AWAIT_REJECT11, AWAIT_REJECT , AWAIT_REJECT11, AWAIT_REJECT ,
AWAIT_REJECT12, AWAIT_REJECT , AWAIT_REJECT12, AWAIT_REJECT , AWAIT_REJECT11, AWAIT_REJECT ,
AWAIT_REJECT11, AWAIT_REJECT , AWAIT_REJECT12, AWAIT_REJECT , AWAIT_REJECT12, AWAIT_REJECT ,
AWAIT_REJECT8 , AWAIT_REJECT , AWAIT_REJECT8 , AWAIT_REJECT , AWAIT_REJECT9 , AWAIT_REJECT ,
AWAIT_REJECT9 , AWAIT_REJECT , AWAIT_REJECT8 , AWAIT_REJECT , AWAIT_REJECT8 , AWAIT_REJECT ,
AWAIT_REJECT9 , AWAIT_REJECT , AWAIT_REJECT9 , AWAIT_REJECT , SH4 , ADM ,
SH4 , ADM , SH4 , ADM , SH4 , ADM ,
SH4 , ADM , SH4 , ADM , SH4 , ADM ,
SH4 , ADM , SH3 , RESET_CHECK , SH3 , RESET_CHECK ,
SH3 , RESET_CHECK , SH3 , RESET_CHECK , SH3 , RESET_CHECK ,
SH3 , RESET_CHECK , SH3 , RESET_CHECK , SH3 , RESET_CHECK ,
AWAIT_REJECT5 , AWAIT , AWAIT_REJECT5 , AWAIT , SH10 , ERROR ,
AWAIT_REJECT4 , NORMAL , AWAIT_REJECT2 , AWAIT_REJECT , AWAIT_REJECT2 , AWAIT_REJECT ,
SH10 , ERROR , AWAIT_REJECT4 , NORMAL , AWAIT_REJECT8 , AWAIT_REJECT ,
AWAIT_REJECT8 , AWAIT_REJECT , SH10 , ERROR , AWAIT_REJECT7 , REJECT ,
AWAIT_REJECT8 , AWAIT_REJECT , AWAIT_REJECT8 , AWAIT_REJECT , SH10 , ERROR ,
AWAIT_REJECT7 , REJECT , AWAIT_REJECT11, AWAIT_REJECT , AWAIT_REJECT11, AWAIT_REJECT ,
SH10 , ERROR , AWAIT_REJECT10, REJECT , AWAIT_REJECT11, AWAIT_REJECT ,
AWAIT_REJECT11, AWAIT_REJECT , SH10 , ERROR , AWAIT_REJECT10, REJECT ,
AWAIT_REJECT8 , AWAIT_REJECT , AWAIT_REJECT8 , AWAIT_REJECT , SH10 , ERROR ,
AWAIT_REJECT7 , REJECT , AWAIT_REJECT8 , AWAIT_REJECT , AWAIT_REJECT8 , AWAIT_REJECT ,
SH10 , ERROR , AWAIT_REJECT7 , REJECT , SH9 , ERROR ,
SH9 , ERROR , SH9 , ERROR , SH9 , ERROR ,
SH9 , ERROR , SH9 , ERROR , SH9 , ERROR ,
SH9 , ERROR , SH6 , ADM , SH6 , ADM ,
SH6 , ADM , SH6 , ADM , SH6 , ADM ,
SH6 , ADM , SH6 , ADM , SH6 , ADM ,
SH5 , RESET_WAIT , SH5 , RESET_WAIT , SH5 , RESET_WAIT ,
SH5 , RESET_WAIT , SH5 , RESET_WAIT , SH5 , RESET_WAIT ,
SH5 , RESET_WAIT , SH5 , RESET_WAIT , SH7 , ERROR ,
SH7 , ERROR , SH7 , ERROR , SH7 , ERROR ,
SH7 , ERROR , SH7 , ERROR , SH7 , ERROR ,
SH7 , ERROR , SH7 , ERROR };
/* this file was generated on Thu Jan 8 00:21:21 GMT 1998 */
/* size of transition table is 898 bytes */
static char timertr_entry [ ] = {
NOP , ADM , NOP , ADM , NOP , ADM ,
NOP , ADM , NOP , ADM , NOP , ADM ,
NOP , ADM , NOP , ADM , NOP , ADM ,
NOP , ADM , NOP , ADM , NOP , ADM ,
NOP , ADM , NOP , ADM , NOP , ADM ,
NOP , ADM , NOP , ADM , NOP , ADM ,
NOP , ADM , NOP , ADM , NOP , ADM ,
NOP , ADM , NOP , ADM , NOP , ADM ,
NOP , ADM , NOP , ADM , NOP , ADM ,
NOP , ADM , NOP , ADM , NOP , ADM ,
NOP , ADM , NOP , ADM , NOP , CONN ,
NOP , CONN , NOP , CONN , NOP , CONN ,
NOP , CONN , NOP , CONN , NOP , CONN ,
NOP , CONN , NOP , CONN , NOP , CONN ,
NOP , CONN , NOP , CONN , NOP , CONN ,
NOP , CONN , NOP , CONN , NOP , CONN ,
NOP , CONN , NOP , CONN , NOP , CONN ,
NOP , CONN , NOP , CONN , NOP , CONN ,
NOP , CONN , NOP , CONN , NOP , CONN ,
NOP , CONN , NOP , CONN , NOP , CONN ,
NOP , CONN , NOP , CONN , NOP , CONN ,
NOP , CONN , NOP , RESET_WAIT , NOP , RESET_WAIT ,
NOP , RESET_WAIT , NOP , RESET_WAIT , NOP , RESET_WAIT ,
NOP , RESET_WAIT , NOP , RESET_WAIT , NOP , RESET_WAIT ,
NOP , RESET_WAIT , NOP , RESET_WAIT , NOP , RESET_WAIT ,
NOP , RESET_WAIT , NOP , RESET_WAIT , NOP , RESET_WAIT ,
NOP , RESET_WAIT , NOP , RESET_WAIT , NOP , RESET_WAIT ,
NOP , RESET_WAIT , NOP , RESET_WAIT , NOP , RESET_WAIT ,
NOP , RESET_WAIT , NOP , RESET_WAIT , NOP , RESET_WAIT ,
NOP , RESET_WAIT , NOP , RESET_WAIT , NOP , RESET_WAIT ,
NOP , RESET_WAIT , NOP , RESET_WAIT , NOP , RESET_WAIT ,
NOP , RESET_WAIT , NOP , RESET_WAIT , NOP , RESET_WAIT ,
NOP , RESET_CHECK , NOP , RESET_CHECK , NOP , RESET_CHECK ,
NOP , RESET_CHECK , NOP , RESET_CHECK , NOP , RESET_CHECK ,
NOP , RESET_CHECK , NOP , RESET_CHECK , NOP , RESET_CHECK ,
NOP , RESET_CHECK , NOP , RESET_CHECK , NOP , RESET_CHECK ,
NOP , RESET_CHECK , NOP , RESET_CHECK , NOP , RESET_CHECK ,
NOP , RESET_CHECK , NOP , RESET_CHECK , NOP , RESET_CHECK ,
NOP , RESET_CHECK , NOP , RESET_CHECK , NOP , RESET_CHECK ,
NOP , RESET_CHECK , NOP , RESET_CHECK , NOP , RESET_CHECK ,
NOP , RESET_CHECK , NOP , RESET_CHECK , NOP , RESET_CHECK ,
NOP , RESET_CHECK , NOP , RESET_CHECK , NOP , RESET_CHECK ,
NOP , RESET_CHECK , NOP , RESET_CHECK , SETUP7 , SETUP ,
SETUP7 , SETUP , SETUP3 , NORMAL , SETUP3 , NORMAL ,
SETUP8 , ADM , SETUP8 , ADM , SETUP3 , NORMAL ,
SETUP3 , NORMAL , NOP , SETUP , NOP , SETUP ,
NOP , SETUP , NOP , SETUP , NOP , SETUP ,
NOP , SETUP , NOP , SETUP , NOP , SETUP ,
NOP , SETUP , NOP , SETUP , NOP , SETUP ,
NOP , SETUP , NOP , SETUP , NOP , SETUP ,
NOP , SETUP , NOP , SETUP , NOP , SETUP ,
NOP , SETUP , NOP , SETUP , NOP , SETUP ,
NOP , SETUP , NOP , SETUP , NOP , SETUP ,
NOP , SETUP , RESET7 , RESET , RESET7 , RESET ,
RESET3 , NORMAL , RESET3 , NORMAL , RESET8 , ADM ,
RESET8 , ADM , RESET3 , NORMAL , RESET3 , NORMAL ,
NOP , RESET , NOP , RESET , NOP , RESET ,
NOP , RESET , NOP , RESET , NOP , RESET ,
NOP , RESET , NOP , RESET , NOP , RESET ,
NOP , RESET , NOP , RESET , NOP , RESET ,
NOP , RESET , NOP , RESET , NOP , RESET ,
NOP , RESET , NOP , RESET , NOP , RESET ,
NOP , RESET , NOP , RESET , NOP , RESET ,
NOP , RESET , NOP , RESET , NOP , RESET ,
D_CONN6 , D_CONN , D_CONN6 , D_CONN , D_CONN6 , D_CONN ,
D_CONN6 , D_CONN , D_CONN7 , ADM , D_CONN7 , ADM ,
D_CONN7 , ADM , D_CONN7 , ADM , NOP , D_CONN ,
NOP , D_CONN , NOP , D_CONN , NOP , D_CONN ,
NOP , D_CONN , NOP , D_CONN , NOP , D_CONN ,
NOP , D_CONN , NOP , D_CONN , NOP , D_CONN ,
NOP , D_CONN , NOP , D_CONN , NOP , D_CONN ,
NOP , D_CONN , NOP , D_CONN , NOP , D_CONN ,
NOP , D_CONN , NOP , D_CONN , NOP , D_CONN ,
NOP , D_CONN , NOP , D_CONN , NOP , D_CONN ,
NOP , D_CONN , NOP , D_CONN , ERR7 , ERROR ,
ERR7 , ERROR , ERR7 , ERROR , ERR7 , ERROR ,
ERR8 , RESET_WAIT , ERR8 , RESET_WAIT , ERR8 , RESET_WAIT ,
ERR8 , RESET_WAIT , NOP , ERROR , NOP , ERROR ,
NOP , ERROR , NOP , ERROR , NOP , ERROR ,
NOP , ERROR , NOP , ERROR , NOP , ERROR ,
NOP , ERROR , NOP , ERROR , NOP , ERROR ,
NOP , ERROR , NOP , ERROR , NOP , ERROR ,
NOP , ERROR , NOP , ERROR , NOP , ERROR ,
NOP , ERROR , NOP , ERROR , NOP , ERROR ,
NOP , ERROR , NOP , ERROR , NOP , ERROR ,
NOP , ERROR , NORMAL20 , AWAIT , NOP , NORMAL ,
NORMAL20 , AWAIT , NOP , NORMAL , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
NORMAL19 , NORMAL , NORMAL19 , NORMAL , NORMAL19 , NORMAL ,
NORMAL19 , NORMAL , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , NOP , NORMAL ,
NOP , NORMAL , NOP , NORMAL , NOP , NORMAL ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , NORMAL20 , AWAIT , NOP , NORMAL ,
NORMAL20 , AWAIT , NOP , NORMAL , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
BUSY24 , AWAIT_BUSY , NOP , BUSY , BUSY24 , AWAIT_BUSY ,
NOP , BUSY , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , BUSY23 , BUSY ,
BUSY23 , BUSY , BUSY23 , BUSY , BUSY23 , BUSY ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , BUSY25 , BUSY , BUSY26 , BUSY ,
BUSY25 , BUSY , BUSY26 , BUSY , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
NOP , BUSY , NOP , BUSY , NOP , BUSY ,
NOP , BUSY , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , NOP , REJECT ,
NOP , REJECT , NOP , REJECT , NOP , REJECT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , NOP , REJECT , NOP , REJECT ,
NOP , REJECT , NOP , REJECT , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
NOP , REJECT , NOP , REJECT , NOP , REJECT ,
NOP , REJECT , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , NOP , REJECT ,
NOP , REJECT , NOP , REJECT , NOP , REJECT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , NOP , AWAIT , NOP , AWAIT ,
NOP , AWAIT , NOP , AWAIT , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
NOP , AWAIT , NOP , AWAIT , NOP , AWAIT ,
NOP , AWAIT , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , NOP , AWAIT ,
NOP , AWAIT , NOP , AWAIT , NOP , AWAIT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , NOP , AWAIT , NOP , AWAIT ,
NOP , AWAIT , NOP , AWAIT , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
NOP , AWAIT_BUSY , NOP , AWAIT_BUSY , NOP , AWAIT_BUSY ,
NOP , AWAIT_BUSY , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , NOP , AWAIT_BUSY ,
NOP , AWAIT_BUSY , NOP , AWAIT_BUSY , NOP , AWAIT_BUSY ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , NOP , AWAIT_BUSY , NOP , AWAIT_BUSY ,
NOP , AWAIT_BUSY , NOP , AWAIT_BUSY , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
NOP , AWAIT_BUSY , NOP , AWAIT_BUSY , NOP , AWAIT_BUSY ,
NOP , AWAIT_BUSY , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , NOP , AWAIT_REJECT ,
NOP , AWAIT_REJECT , NOP , AWAIT_REJECT , NOP , AWAIT_REJECT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , NOP , AWAIT_REJECT , NOP , AWAIT_REJECT ,
NOP , AWAIT_REJECT , NOP , AWAIT_REJECT , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
NOP , AWAIT_REJECT , NOP , AWAIT_REJECT , NOP , AWAIT_REJECT ,
NOP , AWAIT_REJECT , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , NOP , AWAIT_REJECT ,
NOP , AWAIT_REJECT , NOP , AWAIT_REJECT , NOP , AWAIT_REJECT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT , SH11 , RESET_WAIT ,
SH11 , RESET_WAIT , SH11 , RESET_WAIT };
...@@ -14,16 +14,8 @@ obj-y := socket.o core/ ...@@ -14,16 +14,8 @@ obj-y := socket.o core/
obj-$(CONFIG_NET) += ethernet/ 802/ sched/ netlink/ obj-$(CONFIG_NET) += ethernet/ 802/ sched/ netlink/
obj-$(CONFIG_INET) += ipv4/ obj-$(CONFIG_INET) += ipv4/
obj-$(CONFIG_NETFILTER) += ipv4/netfilter/
obj-$(CONFIG_UNIX) += unix/ obj-$(CONFIG_UNIX) += unix/
obj-$(CONFIG_IPV6) += ipv6/ obj-$(CONFIG_IPV6) += ipv6/
ifneq ($(CONFIG_IPV6),n)
ifneq ($(CONFIG_IPV6),)
obj-$(CONFIG_NETFILTER) += ipv6/netfilter/
endif
endif
obj-$(CONFIG_KHTTPD) += khttpd/ obj-$(CONFIG_KHTTPD) += khttpd/
obj-$(CONFIG_PACKET) += packet/ obj-$(CONFIG_PACKET) += packet/
obj-$(CONFIG_NET_SCHED) += sched/ obj-$(CONFIG_NET_SCHED) += sched/
......
...@@ -2427,7 +2427,7 @@ static int dev_boot_phase = 1; ...@@ -2427,7 +2427,7 @@ static int dev_boot_phase = 1;
* will not get the same name. * will not get the same name.
*/ */
int net_dev_init(void); static int net_dev_init(void);
int register_netdevice(struct net_device *dev) int register_netdevice(struct net_device *dev)
{ {
...@@ -2693,7 +2693,7 @@ extern void dv_init(void); ...@@ -2693,7 +2693,7 @@ extern void dv_init(void);
* Callers must hold the rtnl semaphore. See the comment at the * Callers must hold the rtnl semaphore. See the comment at the
* end of Space.c for details about the locking. * end of Space.c for details about the locking.
*/ */
int __init net_dev_init(void) static int __init net_dev_init(void)
{ {
struct net_device *dev, **dp; struct net_device *dev, **dp;
int i; int i;
...@@ -2834,6 +2834,8 @@ int __init net_dev_init(void) ...@@ -2834,6 +2834,8 @@ int __init net_dev_init(void)
return 0; return 0;
} }
__initcall(net_dev_init);
#ifdef CONFIG_HOTPLUG #ifdef CONFIG_HOTPLUG
/* Notify userspace when a netdevice event occurs, /* Notify userspace when a netdevice event occurs,
......
...@@ -18,5 +18,6 @@ obj-$(CONFIG_NET_IPIP) += ipip.o ...@@ -18,5 +18,6 @@ obj-$(CONFIG_NET_IPIP) += ipip.o
obj-$(CONFIG_NET_IPGRE) += ip_gre.o obj-$(CONFIG_NET_IPGRE) += ip_gre.o
obj-$(CONFIG_SYN_COOKIES) += syncookies.o obj-$(CONFIG_SYN_COOKIES) += syncookies.o
obj-$(CONFIG_IP_PNP) += ipconfig.o obj-$(CONFIG_IP_PNP) += ipconfig.o
obj-$(CONFIG_NETFILTER) += netfilter/
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
...@@ -13,5 +13,6 @@ ipv6-objs := af_inet6.o ip6_output.o ip6_input.o addrconf.o sit.o \ ...@@ -13,5 +13,6 @@ ipv6-objs := af_inet6.o ip6_output.o ip6_input.o addrconf.o sit.o \
ip6_flowlabel.o ipv6_syms.o ip6_flowlabel.o ipv6_syms.o
#obj-$(CONFIG_IPV6_FIREWALL) += ip6_fw.o #obj-$(CONFIG_IPV6_FIREWALL) += ip6_fw.o
obj-$(CONFIG_NETFILTER) += netfilter/
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
...@@ -12,7 +12,11 @@ host-progs := make_times_h ...@@ -12,7 +12,11 @@ host-progs := make_times_h
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
# Dependencies on generated files need to be listed explicitly
rfc_time.o: times.h rfc_time.o: times.h
# Generated files
times.h: make_times_h times.h: make_times_h
./make_times_h ./$< >$@
...@@ -64,59 +64,52 @@ static int WeekGetDay(int D,int M,int Y) ...@@ -64,59 +64,52 @@ static int WeekGetDay(int D,int M,int Y)
int main(void) int main(void)
{ {
int M,Y; int M,Y;
FILE *file;
printf("static time_t TimeDays[10][13] = { \n");
file=fopen("times.h","w");
if (file==NULL)
return 0;
fprintf(file,"static time_t TimeDays[10][13] = { \n");
Y=1997; Y=1997;
while (Y<2007) while (Y<2007)
{ {
M=0; M=0;
fprintf(file," { "); printf(" { ");
while (M<12) while (M<12)
{ {
fprintf(file,"%i",(int)GetDay(1,M,Y)); printf("%i",(int)GetDay(1,M,Y));
fprintf(file,",\t"); printf(",\t");
M++; M++;
} }
fprintf(file,"%i } ",(int)GetDay(1,0,Y+1)); printf("%i } ",(int)GetDay(1,0,Y+1));
if (Y!=2006) fprintf(file,","); if (Y!=2006) printf(",");
fprintf(file,"\n"); printf("\n");
Y++; Y++;
} }
fprintf(file,"};\n"); printf("};\n");
fprintf(file,"static int WeekDays[10][13] = { \n"); printf("static int WeekDays[10][13] = { \n");
Y=1997; Y=1997;
while (Y<2007) while (Y<2007)
{ {
M=0; M=0;
fprintf(file," { "); printf(" { ");
while (M<12) while (M<12)
{ {
fprintf(file,"%i",(int)WeekGetDay(1,M,Y)); printf("%i",(int)WeekGetDay(1,M,Y));
fprintf(file,",\t"); printf(",\t");
M++; M++;
} }
fprintf(file,"%i } ",(int)WeekGetDay(1,0,Y+1)); printf("%i } ",(int)WeekGetDay(1,0,Y+1));
if (Y!=2006) fprintf(file,","); if (Y!=2006) printf(",");
fprintf(file,"\n"); printf("\n");
Y++; Y++;
} }
fprintf(file,"};\n"); printf("};\n");
fprintf(file,"#define KHTTPD_YEAROFFSET 1997\n"); printf("#define KHTTPD_YEAROFFSET 1997\n");
fprintf(file,"#define KHTTPD_NUMYEARS 10\n"); printf("#define KHTTPD_NUMYEARS 10\n");
(void)fclose(file);
return 0; return 0;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment