sendfile() change (Was: Re: cvs commit: src/sys/kern uipc_syscalls.c)

2002-08-19 Thread Semen A. Ustimenko
Hi! Why can't we get rid of VOP_READ(.. UIO_NOCOPY...) call in sendfile()? Me, I can't quite understand what UIO_NOCOPY means... As long as sendfile() function already plays around pages, it can use VOP_GETPAGES(). The following patch looks works for me. Could anybody said if it has any benefits

Re: sendfile(2) is broken (Was: ftpd problem: Input/output error)

2002-08-11 Thread Semen A. Ustimenko
with vfs clue. I CC'ed Robert Watson as an author of sendfile(2) modification and our vfs expert. Semen Ustimenko [EMAIL PROTECTED] ran into a similar problem, but his fix was to teach sendfile() to pass in a non-NULL resid and handle the failure mode better. I suspect this fix is more correct

PCI bus code SMC9432 behaviour

2001-02-03 Thread Semen A. Ustimenko
Hi! I got into a following problem with subj: During boot process, the card can be in power down mode. This can be cause MEMEN and PORTEN bits not set up correctly (set to 0) during boot. This bits not set will cause no resources for this device, thus later a bus_alloc_resource() call will