Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jul 2013 22:01:06 +0800
From:      zhixiang yu <zxyu.core@gmail.com>
To:        soc-status@freebsd.org
Cc:        Alexander Motin <mav@freebsd.org>
Subject:   Weekly report of July 1
Message-ID:  <CADr9iNsb0AztjPE%2BgomNbWVAp_FbCgFSXsW5xejbM-bJhzeA_w@mail.gmail.com>

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

I added one bare bone pci ahci emulation during this week. The pci
config space such as device, vendor, class, subclass and progif etc.
are implemented. Besides this, the Global Host Control registers
emulation: CAP, PI and VS are also implemented.

Now the freebsd recognize the host as Intel Cougar Point AHCI SATA controller.

truncate -s 64M ahcidev
./bhyve -c1 -m 256 -AI -H -P -s 0:0,hostbridge -s 1:0,ahci,./ahcidev
-s 2:0,virtio-blk,./diskdev -S 31,uart,stdio vm1

...
ahci0: <Intel Cougar Point AHCI SATA controller> port 0x2000-0x23ff at
device 1.0 on pci0
device_attach: ahci0 attach returned 6
...

Thanks



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADr9iNsb0AztjPE%2BgomNbWVAp_FbCgFSXsW5xejbM-bJhzeA_w>