[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: oskit-mach: device_write
From: |
Daniel Wagner |
Subject: |
Re: oskit-mach: device_write |
Date: |
Wed, 6 Mar 2002 00:40:17 +0100 |
User-agent: |
Mutt/1.3.24i |
> Please try the ds_routines.c change I just committed and tell me if it
> helps or harms.
Your patch helps.
Just one thing: The last argument should return the number of written
bytes. When an error has occured, the return values does not match the
bytes_written variable in ds_device_write.
I've called device_write with packet size 4, bytes_written was 61 and
the return value was 18677512. Obvious, the semantic is right (packet size
!= written bytes), but I'm not sure if this is ok.
wagi
--
Daniel Wagner "Don't drink and derive."
email: wagi@gmx.ch
GnuPG: 1024D/DCDE890A (public key available on any keyserver)
- oskit-mach: device_write, Daniel Wagner, 2002/03/02
- Re: oskit-mach: device_write, Daniel Wagner, 2002/03/03
- Re: oskit-mach: device_write, Roland McGrath, 2002/03/04
- Re: oskit-mach: device_write, Roland McGrath, 2002/03/04
- Re: oskit-mach: device_write, Roland McGrath, 2002/03/04
- Re: oskit-mach: device_write,
Daniel Wagner <=
- Re: oskit-mach: device_write, Roland McGrath, 2002/03/05
- Re: oskit-mach: device_write, Daniel Wagner, 2002/03/06
- Re: oskit-mach: device_write, Roland McGrath, 2002/03/06
- Re: oskit-mach: device_write, Daniel Wagner, 2002/03/07
- Re: oskit-mach: device_write, Roland McGrath, 2002/03/08
- Re: oskit-mach: device_write, Daniel Wagner, 2002/03/09
- Re: oskit-mach: device_write, Thomas Bushnell, BSG, 2002/03/10