cvs commit: src/sys/i386/isa cy.c

Bruce Evans bde at FreeBSD.org
Fri Oct 6 07:16:28 PDT 2006


bde         2006-10-06 14:16:21 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4)
    sys/i386/isa         cy.c 
  Log:
  Fail the probe instead of panicing if the memory address is 0.  The
  memory address can be 0 only with certain misconfigurations.  We don't
  try to detect misconfigurations of the kernel config file, but IIRC the
  panic was caused by a hardware misconfiguration like the following:
  - a cy PCI card physically present but with a hardware conflict
  - then the cy PCI probe is called first but fails due to the conflict
  - no cy ISA card present
  - the cy ISA probe is called.  Normally this uses the nonzero memory
    address in the config file and just fails when there is no cy ISA
    card present, but when there is a cy PCI card present, the ISA memory
    resource is apparently lost.  The (non-)presence of the cy ISA card
    probably makes no difference here.
  
  Revision  Changes    Path
  1.97.2.3  +3 -1      src/sys/i386/isa/cy.c


More information about the cvs-all mailing list