http://git.etherboot.org
/
people
/
mcb30
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2f9bf7
)
[phantom] Omit an initialisation step now performed by the firmware
author
Michael Brown
<mcb30@etherboot.org>
Tue, 23 Sep 2008 22:11:05 +0000
(23:11 +0100)
committer
Michael Brown
<mcb30@etherboot.org>
Tue, 23 Sep 2008 22:11:05 +0000
(23:11 +0100)
The firmware will now determine the right port mode on all cards, so
the PXE driver doesn't have to set it. (Setting the port mode
apparently breaks some newer cards.)
src/drivers/net/phantom/phantom.c
patch
|
blob
|
history
diff --git
a/src/drivers/net/phantom/phantom.c
b/src/drivers/net/phantom/phantom.c
index
5644c96
..
a1313dc
100644
(file)
--- a/
src/drivers/net/phantom/phantom.c
+++ b/
src/drivers/net/phantom/phantom.c
@@
-1692,8
+1692,6
@@
static int phantom_init_cmdpeg ( struct phantom_nic *phantom ) {
phantom_writel ( phantom, 0, UNM_CAM_RAM_COLD_BOOT );
/* Set port modes */
- phantom_writel ( phantom, UNM_CAM_RAM_PORT_MODE_AUTO_NEG,
- UNM_CAM_RAM_PORT_MODE );
phantom_writel ( phantom, UNM_CAM_RAM_PORT_MODE_AUTO_NEG_1G,
UNM_CAM_RAM_WOL_PORT_MODE );