AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20080625152053.4143f548@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<brian.stark@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
X-Sylpheed-End-Special-Headers: 1
Date: Wed, 25 Jun 2008 15:21:51 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: Brian Stark <brian.stark@onstor.com>
Subject: which of our hardware platforms have LSI MACs?
Message-ID: <20080625152151.2edacd07@ripper.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Aloha,

This code in chassid-bc.c (bc for bobcat), will it have any affect on
non-bobcats?


/*++

Routine Description:
    Reset the LSI MAC device.  This function is called
    after a crash to prevent flooding of pause frames.

Arguments:
    None

Return Value:
    None

--*/
static void
cmResetLSIMAC(void)
{
    uint32 gpp;

    if (mm_readAddr(&gpp, 4, CM_BMFPGA_GPP) == NFX_OK) {
        gpp |= (CM_LSI_MAC_RESET | CM_SERDES_RESET);
        if (mm_writeAddr(&gpp, 4, CM_BMFPGA_GPP) != NFX_OK) {
            E_LOG(class_1, warning_s, eee_getApplicationId("cm"), 0, 0, 0,
                  ("CM: Couldn't update BM_FPGA GPP.\n"));
        }
    }
    else {
        E_LOG(class_1, warning_s, eee_getApplicationId("cm"), 0, 0, 0,
              ("CM: Couldn't read BM_FPGA GPP.\n"));
    }
}
