Date: Sat, 13 Jul 2013 12:55:37 GMT From: zcore@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r254752 - soc2013/zcore/head/usr.sbin/bhyve Message-ID: <201307131255.r6DCtbA0022034@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: zcore Date: Sat Jul 13 12:55:37 2013 New Revision: 254752 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=254752 Log: use BAR(5) Modified: soc2013/zcore/head/usr.sbin/bhyve/pci_ahci.c Modified: soc2013/zcore/head/usr.sbin/bhyve/pci_ahci.c ============================================================================== --- soc2013/zcore/head/usr.sbin/bhyve/pci_ahci.c Sat Jul 13 11:19:21 2013 (r254751) +++ soc2013/zcore/head/usr.sbin/bhyve/pci_ahci.c Sat Jul 13 12:55:37 2013 (r254752) @@ -130,7 +130,7 @@ pci_emul_add_msicap(pi, 1); - pci_emul_alloc_bar(pi, 0, PCIBAR_IO, AHCI_REGSZ); + pci_emul_alloc_bar(pi, 5, PCIBAR_IO, AHCI_REGSZ); return (0); } @@ -140,7 +140,7 @@ int baridx, uint64_t offset, int size, uint64_t value) { - assert(baridx == 0); + assert(baridx == 5); switch (offset) { default: @@ -156,7 +156,7 @@ { uint32_t value; - assert(baridx == 0); + assert(baridx == 5); switch (offset) { case AHCI_CAP:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307131255.r6DCtbA0022034>