ERESTARTSYS question.

2001-04-05 Thread Jani Monoses
Hi, although the comments in errno.h say that ERESTARTSYS should not be seen by userland,many drivers seam to return it from their file_operations.Should glibc convert this errno so that the user program sees something meaningful?Because it does not.Is EINTR not a better errno to return from the

Re: ERESTARTSYS question.

2001-04-05 Thread Jani Monoses
On Thu, 5 Apr 2001, Bjorn Wesen wrote: > > ERESTARTSYS is a part of the api between the driver and the > signal-handling code in the kernel. It does not reach user-space (provided > of course that it's used appropriately in the drivers :) As an example sound/via82cxxx_audio.c returns ERESTAR

PCI address space collision

2001-04-05 Thread Jani Monoses
Hi, is this something to worry about ? in dmesg: PCI: Address space collision on region 9 of device VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] [8080:808f] I know it might be unrelated with ACPI being experimental but if the kernel is compiled with ACPI instead of APM the machine (Pre

Rage Mobility P/M

2001-04-18 Thread Jani Monoses
Hi does the atyfb or aty128fb support this chip? Device id of 4c4d. Using 2.4.3-ac7. Thanks Jani. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-inf

Re: Rage Mobility P/M

2001-04-18 Thread Jani Monoses
Well I only use it with vesafb,but ywrap is doing strange stuff (maybe the card misreports the amount of memory on it) and redraw and ypan are slw... On 18 Apr 2001, Ben Pfaff wrote: > Jani Monoses <[EMAIL PROTECTED]> writes: > > > does the atyfb or aty128fb

[patch] docbook fix in /drivers/block/ll_rw_blk.c

2000-12-01 Thread Jani Monoses
Hi Linus, there is a warning in make docs and there is no documentation generated for blk_init_queue because of another function declaration between the comments and the definition . This patch moves the declaration before the comments. please apply . --- /usr/src/clean/linux-2.4/drivers/b

inline docs question

2000-12-11 Thread Jani Monoses
Hi, which functions DON'T need inline documentation in the kernel? Thanks, Jani. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.t

[minor patch] pci.h

2000-12-11 Thread Jani Monoses
Hi Martin this patch makes computing of pci_resource_len a bit more straightforward and hopefully still correct.Plus an aesthetic change in a struct declaration :) --- /usr/src/clean/linux/include/linux/pci.hMon Dec 11 16:49:19 2000 +++ pci.h Mon Dec 11 17:54:24 2000 @@ -432,8

Re: 2.4.0-test12 randomly hangs up

2000-12-13 Thread Jani Monoses
Mine too did this 15 minutes ago.Just moving the mouse around in X and suddenly complete freeze.No response to ping either.Such a thing didn't happen for a long time to me.The only thing I've changed since test11 is compiling fb+fbvesa in. - To unsubscribe from this list: send the line "u

pci_match_device question

2000-12-15 Thread Jani Monoses
Hi, why is pci_match_device supposed to return a _const_ struct pci_device_id?What are the implications of defining it this way? Is it just a contract or the compiler/linker does smt special with it if its const? Sorry if the second part of the question is a bit OT. Jani - To unsubscri

inode.c inline doc fix

2000-12-16 Thread Jani Monoses
Hi Linus, this adds (hopefully correct) documentation to the newly intorduced flags parameter in mark_inode_dirty. --- /usr/src/linux/fs/inode.c Tue Dec 12 11:25:55 2000 +++ inode.c Sat Dec 16 14:38:25 2000 @@ -125,8 +125,9 @@ /** * __mark_inode_dirty -internal

mark_inode_dirty question

2000-12-16 Thread Jani Monoses
Hi Al, I see that ( (inode->i_state & flags) != flags ) checked in __mark_inode_dirty as well as before it is called in mark_inode_dirty and mark_inode_dirty_sync .Could the i_state be changed during the call (on another CPU)? Thanks Jani. - To unsubscribe from this list: se

Re: mark_inode_dirty question

2000-12-16 Thread Jani Monoses
On Sat, 16 Dec 2000, Andrea Arcangeli wrote: > On Sat, Dec 16, 2000 at 02:47:16PM +0200, Jani Monoses wrote: > > mark_inode_dirty and mark_inode_dirty_sync .Could the i_state be changed > > during the call (on another CPU)? > > no because you're protected by t

kernel-doc minor fix

2000-12-16 Thread Jani Monoses
Hi inline docs are not generated for functions which return a 'const' because this modifier is not checked for (only inline extern and static) when verifying the function prototype. This patch fixes it and hopefully doesn't break anything else(I am Perl) Jani. --- /usr/src/linux/s

[patch] docbook fix kmod.c

2000-12-16 Thread Jani Monoses
Hi, kernel-api.tmpl references the exported functions of kmod.c but there are none.This patch changes it to gather docs about the internal functions instead and also adds a so that jade doesn't complain anymore about unfinished CHAPTER or something. Jani. --- /usr/src/linux/Documentati

[patch] pci.c inline documentation

2000-12-16 Thread Jani Monoses
Hi Martin, all this patch fixes some of the problems of the inline docs in pci.c and adds docs to other 10 functions. Could you comment on the comments :-) ? Jani. --- /usr/src/linux/drivers/pci/pci.c.ol Sat Dec 16 16:11:21 2000 +++ pci.c Sat Dec 16 17:17:26 2000 @@ -40,10 +40,12

Re: kernel-doc minor fix

2000-12-18 Thread Jani Monoses
On Sun, 17 Dec 2000, Simon Huggins wrote: > On Sat, Dec 16, 2000 at 04:41:44PM +0200, Jani Monoses wrote: > > +$prototype =~ s/^const+ //; > Yours confusedly, > > Simon. Hi I can't answer to your question but this patch is not good anyway as Tim pointed o

[patch] inode.c doc fix

2000-12-18 Thread Jani Monoses
Hi here's a patch for documenting the newly introduced flags field in mark_inode_dirty(). Jani. --- /usr/src/linux/fs/inode.c Mon Dec 18 15:57:34 2000 +++ inode.c Mon Dec 18 16:08:14 2000 @@ -125,8 +125,10 @@ /** * __mark_inode_dirty -internal function * @inode: i

Re: Linux 2.4.0test13pre3ac1

2000-12-18 Thread Jani Monoses
On Mon, 18 Dec 2000, Alan Cox wrote: > o Teach kernel-doc about const (Jani Monoses) Tim Waugh pointed out this wasn't good as 'const' is part of the function signature and he now has a better patch. > o Add documentation to the PCI api

pci.c question [recent changes undone]

2000-12-19 Thread Jani Monoses
Hi I'm curios what was that change & undo about in test12 and test13pre3ac3 regarding the disabling of PCI IO and MM access while writing to the config registers in pci_read_bases(). These lines were cut from test 12 and now they are back. /* Disable IO and memory w

[patch] get_binfmt/put_binfmt macros

2000-12-19 Thread Jani Monoses
Hi this patch replaces the binfmt module handling parts with macro calls which do the same thing similar do the get/put_exec_domain macros. Also changes an internal function name in fs/exec.c (put_binfmt) which does almost the same thing as put_binfmt (one check less) to avoid compilatio

OOM killer ultimate patch...

2001-03-30 Thread Jani Monoses
Hi here's the patch that will solve all OOM killer problems out there...someone had to do it. Jani. --- linux/mm/oom_kill.c.origFri Mar 30 11:06:24 2001 +++ linux/mm/oom_kill.c Fri Mar 30 14:49:56 2001 @@ -147,6 +147,16 @@ * CAP_SYS_RAW_IO set, send SIGTERM instead (but it's unlikely th

Re: VIA 82C686 Audio Codec: Clicks

2001-04-02 Thread Jani Monoses
You could try the ALSA driver if you're certain it is not a hw problem.It works better here than the one in the kernel. On Sun, 1 Apr 2001, Harald Dunkel wrote: > Hi folks, > > Has anybody an idea how to get rid of the annoying clicks of the > VIA 82C686 audio codec? Using xmms (just as an ex

trident fb?

2001-04-25 Thread Jani Monoses
Hi is there an effort to make trident framebuffer drivers? TIA, Jani. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tu