mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
Matt says that no pre-2.3 pass boards were supposed to ship, but I certainly
got a 2.2 version DC21040 chip in my SMC ethernet card! He suggests bumping the check all the way down to 2.0 since it's pre-2.0 we're actually guarding against. Submitted by: Matt Thomas <matt@lkg.dec.com>
This commit is contained in:
parent
b6b8f81ead
commit
fe16ad72f3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7925
2 changed files with 6 additions and 6 deletions
|
@ -21,7 +21,7 @@
|
|||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_de.c,v 1.21 1995/04/13 04:46:40 davidg Exp $
|
||||
* $Id: if_de.c,v 1.22 1995/04/17 08:16:14 davidg Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -1419,8 +1419,8 @@ tulip_pci_attach(
|
|||
}
|
||||
|
||||
revinfo = pci_conf_read(config_id, PCI_CFRV) & 0xFF;
|
||||
if (tulip_chipids[unit] == TULIP_DC21040 && revinfo < 0x22) {
|
||||
printf("de%d: not configured; DC21040 pass 2.2 required (%d.%d found)\n",
|
||||
if (tulip_chipids[unit] == TULIP_DC21040 && revinfo < 0x20) {
|
||||
printf("de%d: not configured; DC21040 pass 2.0 required (%d.%d found)\n",
|
||||
unit, revinfo >> 4, revinfo & 0x0f);
|
||||
return;
|
||||
} else if (tulip_chipids[unit] == TULIP_DC21140 && revinfo < 0x11) {
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_de.c,v 1.21 1995/04/13 04:46:40 davidg Exp $
|
||||
* $Id: if_de.c,v 1.22 1995/04/17 08:16:14 davidg Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -1419,8 +1419,8 @@ tulip_pci_attach(
|
|||
}
|
||||
|
||||
revinfo = pci_conf_read(config_id, PCI_CFRV) & 0xFF;
|
||||
if (tulip_chipids[unit] == TULIP_DC21040 && revinfo < 0x22) {
|
||||
printf("de%d: not configured; DC21040 pass 2.2 required (%d.%d found)\n",
|
||||
if (tulip_chipids[unit] == TULIP_DC21040 && revinfo < 0x20) {
|
||||
printf("de%d: not configured; DC21040 pass 2.0 required (%d.%d found)\n",
|
||||
unit, revinfo >> 4, revinfo & 0x0f);
|
||||
return;
|
||||
} else if (tulip_chipids[unit] == TULIP_DC21140 && revinfo < 0x11) {
|
||||
|
|
Loading…
Reference in a new issue