NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/35275 (RCA Lyra flash device/music player will not mount as umass devic
The following reply was made to PR kern/35275; it has been noted by GNATS.
From: "David H. Gutteridge" <dhgutteridge%sympatico.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost, martin%NetBSD.org@localhost
Cc:
Subject: Re: kern/35275 (RCA Lyra flash device/music player will not mount as
umass devic
Date: Thu, 06 Mar 2008 19:08:56 -0500
> Unfortunately I can not remember what commit I was thinking of back then.
> Candidates would be:
>
> sys/dev/scsipi/sd.c rev 1.256, 1.255, 1.253 and especially 1.251
>
> Maybe the latter is enough - it applies straight to netbsd-3. Can someone
> test the patch below (against netbsd-3)?
The patch applied successfully, but when I compiled it I got this:
cc -pipe -ffreestanding -march=athlon-tbird -O2 -pipe -Werror -Wall
-Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes
-Wstrict-prototypes -Wno-sign-compare -fno-zero-initialized-in-bss -Di386
-I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DMAXUSERS=32 -D_KERNEL
-D_KERNEL_OPT -I../../../../dist/pf -I../../../../dist/ipf -c
../../../../dev/scsipi/sd.c
../../../../dev/scsipi/sd.c: In function `sd_get_simplifiedparms':
../../../../dev/scsipi/sd.c:1656: warning: passing arg 2 of `scsipi_size'
makes integer from pointer without a cast
../../../../dev/scsipi/sd.c:1656: error: too many arguments to function
`scsipi_size'
../../../../dev/scsipi/sd.c: In function `sd_get_capacity':
../../../../dev/scsipi/sd.c:1702: warning: passing arg 2 of `scsipi_size'
makes integer from pointer without a cast
../../../../dev/scsipi/sd.c:1702: error: too many arguments to function
`scsipi_size'
*** Error code 1
Stop.
make: stopped in /usr/src/sys/arch/i386/compile/ARCUSIII
It looks like it's expecting a different function signature that's defined
elsewhere.
I'd tinker with it myself, but I have to run out tonight. (I have to grab
the RCA Lyra
from somewhere else before I can test changes anyway.)
Regards,
Dave
Home |
Main Index |
Thread Index |
Old Index