On Wed, 17 Mar 2004 01:33, thefly wrote:
> Hi, i'm currently porting QuanCom PWDOG1 Watchdog card to FreeBSD, (you
> can find the current code at http://chiakotay.nexlab.it/acaro/pwdog.c).
> ...
> but the problem is that bus_alloc_resource() returns NULL. I don't have
> a clue about WHY it should. It's running on: FreeBSD 5.2.1-RELEASE with
> GENERIC kernel in a dual pentium 200MMX.

It will return NULL if the resource allocation failed.

I think rid == 0 is what is incorrect here, either that or the card doesn't do 
IO (might be SYS_RES_MEMORY instead), try rid = 0x10.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 9A8C 569F 685A D928 5140  AE4B 319B 41F4 5D17 FDD5
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to