On Thu, 12 Jan 2006 21:15:21 +0100 "JaniD++" <[EMAIL PROTECTED]> wrote:
> Hello, list, > > I have one problem, with my marvell adapter on my asus motherboard. > The problem is not exactly with the linux marvell driver, the problem is > with the marvell-boot-rom. :-) > > I want to boot with this card, and the first time it works. > But after the linux driver gets the card, the next reboot the boot rom > cannot detect the link. :-) > The reset did not fix this issue, only the hard poweroff, and wait ~ 1 > minute. > > Is there an easy way to workaround this issue? Which chip. I suspect the code to power down the driver on remove is confusing the boot rom (Windows has the same problem). Does this change anything? and what are the initial boot values from cold boot and reboot. --- skge-2.6.orig/drivers/net/skge.c +++ skge-2.6/drivers/net/skge.c @@ -2993,6 +2993,7 @@ static int skge_reset(struct skge_hw *hw int i; ctst = skge_read16(hw, B0_CTST); + printk(PFX "boot ctst %x\n", ctst); /* do a SW reset */ skge_write8(hw, B0_CTST, CS_RST_SET); @@ -3355,7 +3356,7 @@ static void __devexit skge_remove(struct skge_write32(hw, B0_IMSK, 0); skge_write16(hw, B0_LED, LED_STAT_OFF); skge_pci_clear(hw); - skge_write8(hw, B0_CTST, CS_RST_SET); + skge_write8(hw, B0_CTST, CS_MRST_SET); tasklet_kill(&hw->ext_tasklet); - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html