Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic ed_ring structure is no longer needed for compati...



details:   https://anonhg.NetBSD.org/src/rev/c4b460075226
branches:  trunk
changeset: 782070:c4b460075226
user:      phx <phx%NetBSD.org@localhost>
date:      Sun Oct 14 13:38:13 2012 +0000

description:
ed_ring structure is no longer needed for compatibility, as the last
device driver using it (amiga/ed(4)) has been converted now.

diffstat:

 sys/dev/ic/dp8390reg.h |  17 +----------------
 1 files changed, 1 insertions(+), 16 deletions(-)

diffs (31 lines):

diff -r 06d340aee079 -r c4b460075226 sys/dev/ic/dp8390reg.h
--- a/sys/dev/ic/dp8390reg.h    Sun Oct 14 13:36:07 2012 +0000
+++ b/sys/dev/ic/dp8390reg.h    Sun Oct 14 13:38:13 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dp8390reg.h,v 1.8 2005/12/11 12:21:26 christos Exp $   */
+/*     $NetBSD: dp8390reg.h,v 1.9 2012/10/14 13:38:13 phx Exp $        */
 
 /*
  * National Semiconductor DS8390 NIC register definitions.
@@ -542,21 +542,6 @@
 };
 
 /*
- * XXX For compatibility only!  This needs to die when all drivers have
- * been converted to be front ends to the MI driver.
- */
-struct ed_ring {
-#if BYTE_ORDER == BIG_ENDIAN
-       u_char  next_packet;            /* pointer to next packet */
-       u_char  rsr;                    /* receiver status */
-#else
-       u_char  rsr;                    /* receiver status */
-       u_char  next_packet;            /* pointer to next packet */
-#endif
-       u_short count;                  /* bytes in packet (length + 4) */
-};
-
-/*
  * Common constants
  */
 #define ED_PAGE_SIZE           256     /* Size of RAM pages in bytes */



Home | Main Index | Thread Index | Old Index