Mercurial > archived > louis > epitech > mq > rathaxes
annotate 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 |
rev | line source |
---|---|
81
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
1 # HG changeset patch |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
2 # Parent 675aa6c230476368c195b739218a4f18c2028325 |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
3 rathaxes: initialize transmission on the e1000 sample: |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
4 |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
5 - This is documented in details in the sections 14.5 and 3.3 of the |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
6 Intel Gigabit Controller Software Developer manual. |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
7 |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
8 diff --git a/rathaxes/samples/e1000/e1000.blt b/rathaxes/samples/e1000/e1000.blt |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
9 --- a/rathaxes/samples/e1000/e1000.blt |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
10 +++ b/rathaxes/samples/e1000/e1000.blt |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
11 @@ -731,6 +731,14 @@ |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
12 } |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
13 |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
14 /* |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
15 + * Transmission initialization (section 14.5): |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
16 + * |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
17 + * 1. Allocate the transmit descript ring and map it to make it |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
18 + * accessible by the device; |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
19 + * 2. |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
20 + */ |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
21 + |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
22 + /* |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
23 * XXX: We can't return here since we are not in a function but in |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
24 * a chunk of code (injected in a function). |
78f2f1918398
Push the rx init, start a patch for the tx init
Louis Opter <louis@lse.epitech.net>
parents:
diff
changeset
|
25 */ |