hello tech@

this one makes nvidia MCP73 on acer aspire m1640 desktop work.

diff:

Index: ahci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/ahci.c,v
retrieving revision 1.148
diff -N -u -p ahci.c
--- ahci.c      13 Sep 2009 13:26:39 -0000      1.148
+++ ahci.c      5 Oct 2009 10:01:03 -0000
@@ -438,6 +438,8 @@ static const struct ahci_device ahci_devices[] = {
        { PCI_VENDOR_NVIDIA,    PCI_PRODUCT_NVIDIA_MCP67_AHCI_1,
            NULL,               ahci_nvidia_mcp_attach },
        { PCI_VENDOR_NVIDIA,    PCI_PRODUCT_NVIDIA_MCP77_AHCI_5,
+           NULL,               ahci_nvidia_mcp_attach },
+       { PCI_VENDOR_NVIDIA,    PCI_PRODUCT_NVIDIA_MCP73_AHCI_9,
            NULL,               ahci_nvidia_mcp_attach }
 };
 

dmesg diff (with AHCI_DEBUG):

-"NVIDIA MCP73 AHCI" rev 0xa2 at pci0 dev 14 function 0 not configured
+ahci0 at pci0 dev 14 function 0 "NVIDIA MCP73 AHCI" rev 0xa2: apic 2
int 5 (irq 5), GHC 0x0 AHCI 1.1
+ahci0: capabilities 0xa3229f03<S64A,SSNTF,SAL,SCLO,SPM,PMD>, 4 ports,
32 cmds, gen 1 (1.5Gbps) and 2 (3Gbps)
+ahci0: ports implemented: 0x0000000f
+ahci0.0: port reset
+ahci0: detected device on port 0
+ahci0.1: port reset
+ahci0: detected device on port 1
+ahci0.2: port reset
+ahci0: no device detected on port 2
+ahci0.3: port reset
+ahci0: no device detected on port 3
+scsibus0 at ahci0: 32 targets
+sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD3200AAJS-0, 01.0> SCSI3
0/direct fixed
+sd0: 305245MB, 512 bytes/sec, 625142448 sec total
+ahci0.1: errored slot 0, TFD: 451<ERR>, SERR: 0, DIAG: 0
+ahci0.1: errored slot 1, TFD: 6451<ERR>, SERR: 0, DIAG: 0
+ahci0.1: errored slot 3, TFD: 2451<ERR>, SERR: 0, DIAG: 0
+cd0 at scsibus0 targ 1 lun 0: <HL-DT-ST, DVDRAM_GH15N, 1.00> ATAPI
5/cdrom removable
...
+vscsi0 at root
+scsibus3 at vscsi0: 256 targets

fdisk on new sd0:

Disk: sd0       geometry: 38913/255/63 [625142448 Sectors]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 27      0   1   1 -   1018 254  63 [          63:    16370172 ] Win Recovery
*1: 07   1019  23  29 -  19986   1  47 [    16371712:   304703488 ] NTFS        
 2: 07  19986   1  48 -  38913  37  36 [   321075200:   304064512 ] NTFS        
 3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      


i also tried to build with option NTFS
and managed to mount and read some files


pcidump of device:

Domain /dev/pci:
 0:14:0: NVIDIA MCP73 AHCI
        0x0000: Vendor ID: 10de Product ID: 07f8
        0x0004: Command: 0007 Status ID: 00b0
        0x0008: Class: 01 Subclass: 04 Interface: 85 Revision: a2
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
        0x0010: BAR io addr: 0x0000c480
        0x0014: BAR io addr: 0x0000c400
        0x0018: BAR io addr: 0x0000c080
        0x001c: BAR io addr: 0x0000c000
        0x0020: BAR io addr: 0x0000bc00
        0x0024: BAR mem 32bit addr: 0xf9e7c000
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1025 Product ID: 0137
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 05 Min Gnt: 03 Max Lat: 01
        0x0044: Capability 0x01: Power Management
        0x008c: Capability 0x12: Reserved
        0x00b0: Capability 0x05: Message Signaled Interrupts (MSI)

Reply via email to