Skip to content
Snippets Groups Projects
Commit 3dc2b28c authored by Alessandro Rubini's avatar Alessandro Rubini
Browse files

nic-hardware.h: we run at 125MHz, not half of that


Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
parent 686eb17e
Branches
Tags
No related merge requests found
......@@ -12,7 +12,7 @@
#define __WR_NIC_HARDWARE_H__
/* This is the clock used in internal counters. */
#define REFCLK_FREQ (125000000 / 2)
#define REFCLK_FREQ (125000000)
#define NSEC_PER_TICK (NSEC_PER_SEC / REFCLK_FREQ)
/* The interrupt is one of those managed by our WRVIC device */
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment