Fixed false register name in e1000 mackerel file (was bst, now cold) and adjusted...
authorGerd Zellweger <mail@gerdzellweger.com>
Wed, 22 May 2013 11:03:36 +0000 (13:03 +0200)
committerGerd Zellweger <mail@gerdzellweger.com>
Fri, 24 May 2013 09:12:36 +0000 (11:12 +0200)
devices/e1000.dev
usr/drivers/e1000/e1000n_hwinit.c

index 5019f5a..7ce6286 100644 (file)
@@ -688,7 +688,7 @@ device e1000 lsbfirst ( addr base ) "Intel e1000 Gigabit Ethernet" {
     _          1 mbz;
     psp                1 "Pad short packets";
     ct         8 "Collision threshold";
-    cold       10 type(coldist) "Collision distance";
+    bst            10 "Back-Off Slot time";
     swxoff     1 "Software XOFF transmission";
     _          1 mbz;
     rtlc       1 "Retransmit on late collision";
index bb74ebf..085cee1 100644 (file)
@@ -795,7 +795,7 @@ void e1000_hwinit(e1000_device_t *dev, struct device_mem *bar_info,
         tctl = e1000_tctl_ct_insert(tctl, 0x10);
         tctl = e1000_tctl_en_insert(tctl, 1);
         tctl = e1000_tctl_psp_insert(tctl, 1);
-        tctl = e1000_tctl_cold_insert(tctl, 0x40);
+        tctl = e1000_tctl_bst_insert(tctl, 0x40);
         e1000_tctl_wr(dev->device, tctl);
     }