diff options
author | harti <harti@FreeBSD.org> | 2005-02-24 16:56:36 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2005-02-24 16:56:36 +0000 |
commit | 272c3271b3f9a21aa6a10e9806830288c1eb6212 (patch) | |
tree | 27b47f463c4b5d81ff79ac7ac9f4cde9d20fecd7 /sys/dev/utopia/utopia.h | |
parent | 6dcf0684c3043439d042d3d2fb729f21b4523655 (diff) | |
download | FreeBSD-src-272c3271b3f9a21aa6a10e9806830288c1eb6212.zip FreeBSD-src-272c3271b3f9a21aa6a10e9806830288c1eb6212.tar.gz |
Split the chip-specific code from the generic Utopia code. This simplifies
adding of new physical chips. Now one just needs to add a .h and a .c
file for the new chip and add one line to utopia.c for that chip.
Diffstat (limited to 'sys/dev/utopia/utopia.h')
-rw-r--r-- | sys/dev/utopia/utopia.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/utopia/utopia.h b/sys/dev/utopia/utopia.h index 0c95aa3..6e42e99 100644 --- a/sys/dev/utopia/utopia.h +++ b/sys/dev/utopia/utopia.h @@ -50,9 +50,10 @@ struct utopia_print { #define UTP_REGT_INT19 0x5 /* 19 bit LE hex */ #define UTP_REGT_INT20 0x6 /* 20 bit LE hex */ #define UTP_REGT_INT21 0x7 /* 21 bit LE hex */ +#define UTP_REGT_INT18 0x8 /* 18 bit LE hex */ /* number of additional registers per type */ -#define UTP_REG_ADD 0, 0, 1, 1, 1, 2, 2, 2 +#define UTP_REG_ADD 0, 0, 1, 1, 1, 2, 2, 2, 2 /* flags field */ #define UTP_FL_NORESET 0x0001 /* cannot write MRESET register */ @@ -87,6 +88,7 @@ struct utopia_print { #define UTP_TYPE_SUNI_622 3 #define UTP_TYPE_IDT77105 4 #define UTP_TYPE_IDT77155 5 +#define UTP_TYPE_CX28250 6 /* * Statistics. These structures are versioned. |