Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
6480448 Sunvts netlbtest external loopback failed on 82546 chipset
6521984 Sunvts netlbtest failed on Northstar QGE cards
6531842 e1000g link goes down and up frequently on T2000 systems
6540535 Sunvts netlbtest internal loopback failed on ophir devices
6579605 Sunvts netlbtest internal loopback failed on Northstar fiber card
6595668 e1000g postinstall script missed 5 device ids which had been supported by shared code
  • Loading branch information
yy150190 committed Sep 18, 2007
1 parent 047ba61 commit 4914a7d
Show file tree
Hide file tree
Showing 9 changed files with 713 additions and 216 deletions.
8 changes: 8 additions & 0 deletions usr/src/pkgdefs/SUNWintgige/postinstall
Expand Up @@ -132,6 +132,7 @@ check_add_drv()
"pci8086,1004"
"pci8086,1008"
"pci8086,1009"
"pci8086,100c"
"pci8086,100d"
"pci8086,100e"
"pci8086,100f"
Expand Down Expand Up @@ -168,6 +169,7 @@ check_add_drv()
"pci8086,1075"
"pci8086,1076"
"pci8086,1077"
"pci8086,1078"
"pci8086,1079"
"pci8086,107a"
"pci8086,107b"
Expand All @@ -183,6 +185,7 @@ check_add_drv()
"pci8086,1099"
"pci8086,109a"
"pci8086,10a4"
"pci8086,10a5"
"pci8086,10b5"
"pci8086,10b9"
"pci8086,10ba"
Expand All @@ -197,6 +200,8 @@ check_add_drv()
"pci8086,10c4"
"pci8086,10c5"
"pci8086,10d5"
"pci8086,10d9"
"pci8086,10da"
"pci8086,294c"
"pciex8086,1049"
"pciex8086,104a"
Expand All @@ -215,6 +220,7 @@ check_add_drv()
"pciex8086,1098"
"pciex8086,109a"
"pciex8086,10a4"
"pciex8086,10a5"
"pciex8086,10b9"
"pciex8086,10ba"
"pciex8086,10bb"
Expand All @@ -228,5 +234,7 @@ check_add_drv()
"pciex8086,10c4"
"pciex8086,10c5"
"pciex8086,10d5"
"pciex8086,10d9"
"pciex8086,10da"
"pciex8086,294c"' \
-m '* 0666 root root' e1000g
10 changes: 10 additions & 0 deletions usr/src/uts/common/io/e1000g/README
Expand Up @@ -533,3 +533,13 @@ Notes on packaging:
This version has the following fix:
6594676 e1000g should free private dips while no rx buffers are held by upper layer

5.2.2
======
This version has the following fix:
6480448 Sunvts netlbtest external loopback failed on 82546 chipset
6521984 Sunvts netlbtest failed on Northstar QGE cards
6531842 e1000g link goes down and up frequently on T2000 systems
6540535 Sunvts netlbtest internal loopback failed on ophir devices
6579605 Sunvts netlbtest internal loopback failed on Northstar fiber card
6595668 e1000g postinstall script missed 5 device ids which had been supported by shared code

30 changes: 30 additions & 0 deletions usr/src/uts/common/io/e1000g/e1000_osdep.c
Expand Up @@ -151,3 +151,33 @@ e1000_enable_pciex_master(struct e1000_hw *hw)
ctrl &= ~E1000_CTRL_GIO_MASTER_DISABLE;
E1000_WRITE_REG(hw, E1000_CTRL, ctrl);
}

/*
* e1000g_get_driver_control - tell manageability firmware that the driver
* has control.
*/
void
e1000g_get_driver_control(struct e1000_hw *hw)
{
uint32_t ctrl_ext;
uint32_t swsm;

/* tell manageability firmware the driver has taken over */
switch (hw->mac.type) {
case e1000_82573:
swsm = E1000_READ_REG(hw, E1000_SWSM);
E1000_WRITE_REG(hw, E1000_SWSM, swsm | E1000_SWSM_DRV_LOAD);
break;
case e1000_82571:
case e1000_82572:
case e1000_80003es2lan:
case e1000_ich8lan:
case e1000_ich9lan:
ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT);
E1000_WRITE_REG(hw, E1000_CTRL_EXT,
ctrl_ext | E1000_CTRL_EXT_DRV_LOAD);
break;
default:
break;
}
}

0 comments on commit 4914a7d

Please sign in to comment.