[REVIEW/TEST] Rewritten floppy driver.

Christian Brueffer chris at unixpages.org
Thu Aug 19 18:04:40 PDT 2004


On Thu, Aug 19, 2004 at 11:15:27PM +0200, Poul-Henning Kamp wrote:
> In message <20040819211141.GA12219 at unixpages.org>, Christian Brueffer writes:
> >
> >--k+w/mQv8wyuph6w0
> >Content-Type: text/plain; charset=us-ascii
> >Content-Disposition: inline
> >Content-Transfer-Encoding: quoted-printable
> >
> >On Thu, Aug 19, 2004 at 03:43:07PM +0200, Poul-Henning Kamp wrote:
> >>=20
> >> Please review and test this patch:
> >>=20
> >> 	http://phk.freebsd.dk/patch/fdc.patch
> >>=20
> >
> >The patch works for me, except mounting a write protected disk read-only:
> >
> >haakonia# mount -t msdosfs -r /dev/fd0 /mnt/private/
> >msdosfs: /dev/fd0: Read-only file system
> 
> This is a bug elsewhere and it is fixed on my "phk_bufwork" branch
> which will arrive in -current in about a month or so.
> 

I just noticed, that the patch breaks world:

cc -O -pipe -g -march=pentium
-I/usr/home/build/src/usr.sbin/fdcontrol/../fdread -Wsystem-headers
-Werror -Wall -Wno-format-y2k -Wno-uninitialized -c
/usr/home/build/src/usr.sbin/fdcontrol/fdcontrol.c
/usr/home/build/src/usr.sbin/fdcontrol/fdcontrol.c: In function `main':
/usr/home/build/src/usr.sbin/fdcontrol/fdcontrol.c:212: error:
`FD_DEBUG' undeclared (first use in this function)
/usr/home/build/src/usr.sbin/fdcontrol/fdcontrol.c:212: error: (Each
undeclared identifier is reported only once
/usr/home/build/src/usr.sbin/fdcontrol/fdcontrol.c:212: error: for each
function it appears in.)
*** Error code 1

Stop in /usr/home/build/src/usr.sbin/fdcontrol.
*** Error code 1

Stop in /usr/home/build/src/usr.sbin.
*** Error code 1

Stop in /usr/home/build/src.
*** Error code 1

Stop in /usr/home/build/src.
*** Error code 1

Stop in /usr/home/build/src.
haakonia#

- Christian

-- 
Christian Brueffer	chris at unixpages.org	brueffer at FreeBSD.org
GPG Key:	 http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040820/9f1bf20c/attachment.bin


More information about the freebsd-current mailing list