if_re.c (82aa34e6fa1cd5a4ad401383522daf51412ea4b2) if_re.c (73a1170a8c41cb848f17cc0a8839e9dcee3d126e)
1/*-
2 * Copyright (c) 1997, 1998-2003
3 * Bill Paul <wpaul@windriver.com>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 939 unchanged lines hidden (view full) ---

948 if (vendor == RT_VENDORID && devid == RT_DEVICEID_8139) {
949 if (revid != 0x20) {
950 /* 8139, let rl(4) take care of this device. */
951 return (ENXIO);
952 }
953 }
954
955 t = re_devs;
1/*-
2 * Copyright (c) 1997, 1998-2003
3 * Bill Paul <wpaul@windriver.com>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 939 unchanged lines hidden (view full) ---

948 if (vendor == RT_VENDORID && devid == RT_DEVICEID_8139) {
949 if (revid != 0x20) {
950 /* 8139, let rl(4) take care of this device. */
951 return (ENXIO);
952 }
953 }
954
955 t = re_devs;
956 for (i = 0; i < sizeof(re_devs) / sizeof(re_devs[0]); i++, t++) {
956 for (i = 0; i < nitems(re_devs); i++, t++) {
957 if (vendor == t->rl_vid && devid == t->rl_did) {
958 device_set_desc(dev, t->rl_name);
959 return (BUS_PROBE_DEFAULT);
960 }
961 }
962
963 return (ENXIO);
964}

--- 3110 unchanged lines hidden ---
957 if (vendor == t->rl_vid && devid == t->rl_did) {
958 device_set_desc(dev, t->rl_name);
959 return (BUS_PROBE_DEFAULT);
960 }
961 }
962
963 return (ENXIO);
964}

--- 3110 unchanged lines hidden ---