comparison e1000_initialize_transmission.patch @ 81:78f2f1918398

Push the rx init, start a patch for the tx init
author Louis Opter <louis@lse.epitech.net>
date Sun, 20 May 2012 07:51:04 +0200
parents
children 71f76c0f235f
comparison
equal deleted inserted replaced
80:0354cceee710 81:78f2f1918398
1 # HG changeset patch
2 # Parent 675aa6c230476368c195b739218a4f18c2028325
3 rathaxes: initialize transmission on the e1000 sample:
4
5 - This is documented in details in the sections 14.5 and 3.3 of the
6 Intel Gigabit Controller Software Developer manual.
7
8 diff --git a/rathaxes/samples/e1000/e1000.blt b/rathaxes/samples/e1000/e1000.blt
9 --- a/rathaxes/samples/e1000/e1000.blt
10 +++ b/rathaxes/samples/e1000/e1000.blt
11 @@ -731,6 +731,14 @@
12 }
13
14 /*
15 + * Transmission initialization (section 14.5):
16 + *
17 + * 1. Allocate the transmit descript ring and map it to make it
18 + * accessible by the device;
19 + * 2.
20 + */
21 +
22 + /*
23 * XXX: We can't return here since we are not in a function but in
24 * a chunk of code (injected in a function).
25 */