[BACK]Return to elink3.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / ic

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/ic/elink3.c between version 1.122 and 1.123

version 1.122, 2007/07/09 21:00:35 version 1.123, 2007/08/27 14:48:54
Line 566  ep_internalconfig(sc)
Line 566  ep_internalconfig(sc)
   
         aprint_normal("%s: address %s, %dKB %s-wide FIFO, %s Rx:Tx split\n",          aprint_normal("%s: address %s, %dKB %s-wide FIFO, %s Rx:Tx split\n",
                sc->sc_dev.dv_xname,                 sc->sc_dev.dv_xname,
                ether_sprintf(LLADDR(sc->sc_ethercom.ec_if.if_sadl)),                 ether_sprintf(CLLADDR(sc->sc_ethercom.ec_if.if_sadl)),
                8 << ram_size,                 8 << ram_size,
                (ram_width) ? "word" : "byte",                 (ram_width) ? "word" : "byte",
                onboard_ram_config[ram_split]);                 onboard_ram_config[ram_split]);
Line 754  epinit(ifp)
Line 754  epinit(ifp)
         bus_space_tag_t iot = sc->sc_iot;          bus_space_tag_t iot = sc->sc_iot;
         bus_space_handle_t ioh = sc->sc_ioh;          bus_space_handle_t ioh = sc->sc_ioh;
         int i, error;          int i, error;
         u_int8_t *addr;          const u_int8_t *addr;
   
         if (!sc->enabled && (error = epenable(sc)) != 0)          if (!sc->enabled && (error = epenable(sc)) != 0)
                 return (error);                  return (error);
Line 781  epinit(ifp)
Line 781  epinit(ifp)
   
         GO_WINDOW(2);          GO_WINDOW(2);
         /* Reload the ether_addr. */          /* Reload the ether_addr. */
         addr = LLADDR(ifp->if_sadl);          addr = CLLADDR(ifp->if_sadl);
         for (i = 0; i < 6; i += 2)          for (i = 0; i < 6; i += 2)
                 bus_space_write_2(iot, ioh, ELINK_W2_ADDR_0 + i,                  bus_space_write_2(iot, ioh, ELINK_W2_ADDR_0 + i,
                     (addr[i] << 0) | (addr[i + 1] << 8));                      (addr[i] << 0) | (addr[i + 1] << 8));

Legend:
Removed from v.1.122  
changed lines
  Added in v.1.123

CVSweb <webmaster@jp.NetBSD.org>