Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Apr 2009 08:34:35 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Sergey Babkin <babkin@verizon.net>
Cc:        freebsd-hackers@freebsd.org, Ivan Voras <ivoras@freebsd.org>
Subject:   Re: Patch for MS Hyper V (virtualization)
Message-ID:  <200904150834.35880.jhb@freebsd.org>
In-Reply-To: <49E52E7B.34792757@verizon.net>
References:  <1366225354.253456.1238948619308.JavaMail.root@vms124.mailsrvcs.net> <200904131256.44692.jhb@freebsd.org> <49E52E7B.34792757@verizon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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