Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Feb 2001 04:44:30 +0600 (GMT+6)
From:      "Semen A. Ustimenko" <semenu@FreeBSD.org>
To:        freebsd-current@FreeBSD.org
Cc:        freebsd-hackers@FreeBSD.org, Michael Smith <msmith@FreeBSD.org>
Subject:   PCI bus code & SMC9432 behaviour
Message-ID:  <Pine.BSF.4.21.0102040425480.706-100000@default>

next in thread | raw e-mail | index | archive | help
Hi!

I got into a following problem with subj:

During boot process, the card can be in power down mode. This can be
cause MEMEN and PORTEN bits not set up correctly (set to 0) during boot.
This bits not set will cause no resources for this device, thus later a
bus_alloc_resource() call will fail. 

I succeed to with adding resources manualy by calling bus_set_resource(),
but it seems to me a wrong idea. I supposed the pci code analyze that
driver sets/clears PORTEN or MEMEN bit, and thus add/remove appropriate
resources... This wont be difficult.

If you say this is a good idea, i can provide a patch myself, though i
haven't thouched the pci code before.

Good luck!



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0102040425480.706-100000>