[haiku-bugs] Re: [Haiku] #13698: Network stopped working on haiku nightly hrev50967

  • From: "korli" <trac@xxxxxxxxxxxx>
  • Date: Tue, 12 Sep 2017 15:47:23 -0000

#13698: Network stopped working on haiku nightly hrev50967
----------------------------------------+----------------------------
   Reporter:  addos                     |      Owner:  nobody
       Type:  bug                       |     Status:  new
   Priority:  normal                    |  Milestone:  Unscheduled
  Component:  Drivers/Network/ipro1000  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:                            |   Blocking:
Has a Patch:  0                         |   Platform:  All
----------------------------------------+----------------------------

Comment (by korli):

 {{{
 grep -R E1000_DEV_ID_82541GI_LF
 dev/e1000/if_em.c:      { 0x8086, E1000_DEV_ID_82541GI_LF,
 PCI_ANY_ID, PCI_ANY_ID, 0},
 dev/e1000/e1000_hw.h:#define E1000_DEV_ID_82541GI_LF
 0x107C
 dev/e1000/if_lem.c:     { 0x8086, E1000_DEV_ID_82541GI_LF,
 PCI_ANY_ID, PCI_ANY_ID, 0},
 dev/e1000/e1000_api.c:  case E1000_DEV_ID_82541GI_LF:
 }}}

 Your device ID is now declared for both driver if_em.c and if_lem.c.
 To compare with FreeBSD:
 http://fxr.watson.org/fxr/ident?v=FREEBSD9;i=E1000_DEV_ID_82541GI_LF

 {{{
 Defined as a preprocessor macro in:

     dev/e1000/e1000_hw.h, line 75

 Referenced (in 3 files total) in:

     dev/e1000/e1000_hw.h, line 75
     dev/e1000/if_lem.c, line 115
     dev/e1000/e1000_api.c, line 207
 }}}

 Obviously the addition of IDs is the problem.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13698#comment:14>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: