Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jun 2000 22:18:55 -0700 (PDT)
From:      Matt Jacob <mjacob@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/pci isp_pci.c
Message-ID:  <200006180518.WAA41012@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
mjacob      2000/06/17 22:18:55 PDT

  Modified files:
    sys/pci              isp_pci.c 
  Log:
  Clean up firmware load issues and remove darn near all config options.
  Force alphas to prefer mem mapping as the default.
  
  Basically, we have a pointer to a function which we can call which will
  return us a pointer to firmware for the card we have. We call this function
  (if it's non-NULL) with the address of our mdvec f/w pointer.
  
  The way this works is that if ispfw (as a module or a static) is loaded,
  it initializes the pointer in isp_pci, so we can call into to it to fetch
  a pointer to a f/w set.
  
  If ispfw is MOD_UNLOADed, it's retained a pointer to our mdvec f/w pointers,
  which then get zeroed out so we don't have any references to data that's
  now gone from kernel memory. Removing the f/w saves ~360KBytes.
  
  Alas, there is no autounload mechanism that works for is here.
  
  Revision  Changes    Path
  1.46      +44 -96    src/sys/pci/isp_pci.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006180518.WAA41012>