On Tuesday 14 April 2009 8:46:51 pm Sergey Babkin wrote:
> John Baldwin wrote:
> > Your printf() probably isn't in the right place.  pci_add_map() uses
> > PCIB_READ_CONFIG() directly and doesn't use pci_read_config(), so if your
> > printf is in pci_read_config_method() in pci.c it won't see them.  Try
> > hooking the cfg operations in sys/amd64/pci/pci_cfgreg.c instead.
> 
> The printf was in pci_write_config().

Yes, that won't catch the PCIB_WRITE_CONFIG()'s in pci_add_map().

-- 
John Baldwin
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to