- 06 Aug, 2002 1 commit
-
-
Kai Germaschewski authored
-
- 03 Aug, 2002 3 commits
-
-
Kai Germaschewski authored
Use a simple conditional #define in the header instead of spreading #ifdef .. #endif all over the place.
-
Kai Germaschewski authored
Even more states can go away, and there's not really any need to have the ISDN code have manage timers by itself, just use normal kernel timers for the state machine now.
-
Kai Germaschewski authored
After the preceding cleanups, it turns out that a couple of states are not necessary and can just be removed. Also, they can be given more descriptive names now.
-
- 02 Aug, 2002 10 commits
-
-
Kai Germaschewski authored
Remove the unneeded state "ST_2".
-
Kai Germaschewski authored
-
Kai Germaschewski authored
-
Kai Germaschewski authored
They were always allocated together and had a one-to-one relationship, so let's just make them one thing.
-
Kai Germaschewski authored
Now it's a rather big nested switch statement, but at least it's all in one place now.
-
Kai Germaschewski authored
No need to sprinkle ugly #ifdef's all over the place, do it once in the header instead.
-
Kai Germaschewski authored
Currently, the state machine is distributed over multiple functions, the goal is to convert these to just one function, so it's easier to grasp what is happening for which state/event combinations.
-
Kai Germaschewski authored
Order actions to be taken by current dialstate primarily and received status messages secondarily.
-
Kai Germaschewski authored
Replace the numbers by symbolic constants - doesn't help yet, since we just go 0 -> ST_0, 1 -> ST_1, ... - but that'll change ;)
-
Kai Germaschewski authored
Add a helper function to prepare for and start dialing, removing duplicated code from isdn_tty.c/isdn_net.c. Move some parts of the big switch statement in isdn_net.c into their own functions.
-
- 31 Jul, 2002 7 commits
-
-
Kai Germaschewski authored
-
Kai Germaschewski authored
Instead of having a number of arrays containg various bits of per-slot data, start aggregating this data in a struct, and then have one instance of this struct per slot.
-
Kai Germaschewski authored
Remove some of the old functions which used to take (driver,channel) pairs, as they are superseded by isdn_slot_* functions now.
-
Kai Germaschewski authored
It's role has been taken over by .isdn_slot
-
Kai Germaschewski authored
-
Kai Germaschewski authored
A small step in cleaning up isdn.o, fixing various bugs on the error paths.
-
Kai Germaschewski authored
Don't know when that broke, but somebody seems to be using "msg" in another context - since we don't need the union to be named at all, it's easy to fix.
-
- 30 Jul, 2002 3 commits
-
-
bk://ncpfs.bkbits.net/linux-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Petr Vandrovec authored
-
Linus Torvalds authored
using a system call from kernel space. This avoids one level of hidden code, and makes what happens much more explicit (and speeds it up too, fwiw)
-
- 29 Jul, 2002 16 commits
-
-
Eric Sandeen authored
This "warning fix" bug report is actually an OOPS bugfix.
-
Matthew Wilcox authored
locks_unlock_delete is buggy in a couple of different ways (previously reported by Brian Dixon). Rather than fix it, this patch simply deletes it and uses the normal posix file locking mechanisms to remove all locks in locks_remove_posix instead.
-
Anton Blanchard authored
Make cpu_relax() on all architectures a gcc barrier to match x86.
-
http://linux-isdn.bkbits.net/linux-2.5.makeLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Kai Germaschewski authored
-
Sam Ravnborg authored
-
Sam Ravnborg authored
o Corrected dependencies for parportbook o Introduced do_cmd, thus adhering to KBUILD_VERBOSE and make -s
-
Sam Ravnborg authored
do_cmd is a nice shorthand when creating rules that in one line shall adhere to KBUILD_VERBOSE and make -s. So far the only user is (will be) the docbook makefile
-
Linus Torvalds authored
file locking LSM update
-
Linus Torvalds authored
-
Hugh Dickins authored
An acct flag was added to do_munmap, true everywhere but in mremap's move_vma: instead of updating the arch and driver sources, revert that that change and temporarily mask VM_ACCOUNT around that one do_munmap. Also, noticed that do_mremap fails needlessly if both shrinking _and_ moving a mapping: update old_len to pass vm area boundaries test.
-
Hugh Dickins authored
If we support mmap MAP_NORESERVE, we should support it on shared anonymous objects: too bad that needs a few changes. do_mmap_pgoff pass VM_ACCOUNT (or not) down to shmem_file_setup, flag stored into shmem info, for use by shmem_delete_inode later. Also removed a harmless but pointless call to shmem_truncate.
-
Hugh Dickins authored
Update Doc and remove FIXME comment from fork.c now accounting right.
-
Hugh Dickins authored
do_mmap_pgoff's (file == NULL) check was incorrect: it caused shared MAP_ANONYMOUS objects to be counted twice (again in shmem_file_setup), and again on fork(); whereas the equivalent shared /dev/zero objects were correctly counted. Conversely, a private readonly file mapping was (correctly) not counted, but still not counted when mprotected to writable: mprotect_fixup had pointless "charged = 0" changes, now it does vm_enough_memory checking when private is first made writable (but later we may want to refine behaviour on a noreserve mapping). Also changed correct (flags & MAP_SHARED) test in do_mmap_pgoff to equivalent (vm_flags & VM_SHARED) test: because do_mmap_pgoff is dealing with vm_flags rather than the input flags by that stage.
-
Hugh Dickins authored
Remove vm_unacct_vma function: it's only used in one place, which can do it better by using vm_unacct_memory directly.
-
Hugh Dickins authored
do_mmap_pgoff clears MAP_NORESERVE from vm_flags when VM accounts strictly: but it's not in vm_flags, it's in flags (and tested there).
-