From 27dbe327230e49e935a6c285ddb2277b2eda005e Mon Sep 17 00:00:00 2001 From: mdodd Date: Wed, 17 Apr 2002 07:00:56 +0000 Subject: [PATCH] - Add defines for ABR and UBR traffic types. - Add IDT bits to vendor/vendorapi/device enums. - Add EISA to atm_bus enum. --- sys/netatm/atm.h | 2 ++ sys/netatm/atm_if.h | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/sys/netatm/atm.h b/sys/netatm/atm.h index 1145a9c462f8..459047542bf7 100644 --- a/sys/netatm/atm.h +++ b/sys/netatm/atm.h @@ -342,6 +342,8 @@ struct t_atm_bearer { /* traffic_type */ #define T_ATM_CBR 0x01 /* Constant bit rate */ #define T_ATM_VBR 0x02 /* Variable bit rate */ +#define T_ATM_ABR 0x03 /* Available Bit Rate */ */ +#define T_ATM_UBR 0x04 /* Unspecified bit rate */ /* timing_requirements */ #define T_ATM_END_TO_END 0x01 /* End-to-end timing required */ diff --git a/sys/netatm/atm_if.h b/sys/netatm/atm_if.h index 2a311a7f1a0c..3631b61bed7d 100644 --- a/sys/netatm/atm_if.h +++ b/sys/netatm/atm_if.h @@ -65,6 +65,7 @@ enum atm_vendor { VENDOR_UNKNOWN, /* Unknown vendor */ VENDOR_FORE, /* FORE Systems, Inc. */ VENDOR_ENI /* Efficient Networks, Inc. */ + VENDOR_IDT /* Integrated Device Technology, Inc. */ }; typedef enum atm_vendor Atm_vendor; @@ -76,6 +77,7 @@ enum atm_vendapi { VENDAPI_UNKNOWN, /* Unknown interface */ VENDAPI_FORE_1, /* FORE - 200 Series */ VENDAPI_ENI_1 /* ENI - Midway */ + VENDAPI_IDT_1 /* IDT - NICStAR */ }; typedef enum atm_vendapi Atm_vendapi; @@ -90,6 +92,7 @@ enum atm_device { DEV_FORE_PCA200E, /* FORE PCA-200E */ DEV_FORE_ESA200E, /* FORE ESA-200E */ DEV_ENI_155P /* ENI-155p */ + DEV_IDT_155 /* IDT NICStAR */ }; typedef enum atm_device Atm_device; @@ -116,6 +119,7 @@ enum atm_bus { BUS_SBUS_B16, /* SBus: 16 byte (4 word) max burst */ BUS_SBUS_B32, /* SBus: 32 byte (8 word) max burst */ BUS_PCI /* PCI */ + BUS_EISA /* EISA */ }; typedef enum atm_bus Atm_bus;