This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Add test for 82546 in 82544 driver
- From: Mark Salter <msalter at redhat dot com>
- To: ecos-patches at sources dot redhat dot com
- Date: Tue, 11 Mar 2003 14:57:01 -0500 (EST)
- Subject: Add test for 82546 in 82544 driver
Index: eth/intel/i82544/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/eth/intel/i82544/current/ChangeLog,v
retrieving revision 1.5
diff -u -p -5 -r1.5 ChangeLog
--- eth/intel/i82544/current/ChangeLog 5 Feb 2003 18:34:01 -0000 1.5
+++ eth/intel/i82544/current/ChangeLog 11 Mar 2003 19:51:51 -0000
@@ -1,5 +1,9 @@
+2003-03-11 Mark Salter <msalter at redhat dot com>
+
+ * src/if_i82544.c (find_82544s_match_func): Add 82546 devid.
+
2003-02-05 Nick Garnett <nickg at calivar dot com>
* src/if_i82544.c (BUS_TO_VIRT): Added default definition of this
macro.
Index: eth/intel/i82544/current/src/if_i82544.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/eth/intel/i82544/current/src/if_i82544.c,v
retrieving revision 1.5
diff -u -p -5 -r1.5 if_i82544.c
--- eth/intel/i82544/current/src/if_i82544.c 5 Feb 2003 18:34:01 -0000 1.5
+++ eth/intel/i82544/current/src/if_i82544.c 11 Mar 2003 19:51:55 -0000
@@ -6,11 +6,11 @@
//
//==========================================================================
//####ECOSGPLCOPYRIGHTBEGIN####
// -------------------------------------------
// This file is part of eCos, the Embedded Configurable Operating System.
-// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Red Hat, Inc.
//
// eCos 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 or (at your option) any later version.
//
@@ -2440,11 +2440,12 @@ static cyg_bool
find_82544s_match_func( cyg_uint16 v, cyg_uint16 d, cyg_uint32 c, void *p )
{
return ((0x8086 == v) &&
((0x1004 == d) || // 82543
(0x100d == d) || // 82543
- (0x1008 == d) // 82544
+ (0x1008 == d) || // 82544
+ (0x1010 == d) // 82546
)
);
}
static int