par. ata not seen if sata is present

Søren Schmidt sos at freebsd.org
Mon May 26 07:39:12 UTC 2008


Hi

Hi!

The param->model problem is a side effect of ATA not supporting this  
chip.

The marvell chips apparently need special support to work properly, so  
I need to have the HW here for "hands on" development (marvell doesn't  
hand out docs).

Same routine as for the last decade, get me the HW and I'll work out  
how to support it if at all possible.

-Søren




On 26May, 2008, at 9:32 , Aryeh M. Friedman wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Andrey Chernov wrote:
> | On Mon, May 26, 2008 at 03:22:37AM -0400, Aryeh M. Friedman wrote:
> |> atapci0 at pci0:3:0:0:    class=0x01018f card=0x612111ab  
> chip=0x612111ab
> |> rev=0xb1 hdr=0x00
> |
> | See also "atadev->param.model problem or bug with Marvell 88SE6811  
> chip"
> | thread in current@
> |
> I tried the patch in that thread:
>
> - --------------------------------------------------------------
> |>> stage 3.2: building everything
> - --------------------------------------------------------------
> cd /usr/obj/usr/src/sys/MONSTER; MAKEOBJDIRPREFIX=/usr/obj   
> MACHINE_ARCH=amd64  MACHINE=amd64  CPUTYPE=nocona  GROFF_BIN_PATH=/ 
> usr/obj/usr/src/tmp/legacy/usr/bin  GROFF_FONT_PATH=/usr/obj/usr/src/ 
> tmp/legacy/usr/share/groff_font  GROFF_TMAC_PATH=/usr/obj/usr/src/ 
> tmp/legacy/usr/share/tmac  _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp   
> VERSION="FreeBSD 8.0-CURRENT amd64 800037"  INSTALL="sh /usr/src/ 
> tools/install.sh"  PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/ 
> obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/ 
> games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/ 
> usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin NO_CTF=1  
> make KERNEL=kernel all -DNO_MODULES_OBJ
> cc -c -O2 -frename-registers -pipe -fno-strict-aliasing - 
> march=nocona -std=c99  -Wall -Wredundant-decls -Wnested-externs - 
> Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline - 
> Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc   
> -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL - 
> DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common - 
> finline-limit=8000 --param inline-unit-growth=100 --param large- 
> function-growth=1000  -mcmodel=kernel -mno-red-zone  -mfpmath=387 - 
> mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow  -msoft-float -fno- 
> asynchronous-unwind-tables -ffreestanding -Werror  /usr/src/sys/dev/ 
> ata/ata-all.c;
> /usr/src/sys/dev/ata/ata-all.c: In function 'ata_getparam':
> /usr/src/sys/dev/ata/ata-all.c:610: error: 'struct ata_device' has  
> no member named 'config'
> /usr/src/sys/dev/ata/ata-all.c:611: error: 'struct ata_device' has  
> no member named 'reserved2'
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (FreeBSD)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkg6Z30ACgkQk8GFzCrQm4AuOwCgysw4y6/gQh3cIEYr53VcYqlZ
> CAcAoI2NO5kpZn9PMIwUTeI+oClZZ3H1
> =r1BV
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org 
> "
>



More information about the freebsd-current mailing list