- 08 Oct, 2002 4 commits
-
-
Patrick Mochel authored
-
Patrick Mochel authored
-
Patrick Mochel authored
-
Patrick Mochel authored
device_unregister() is intended to be the complement of device_register(), and assumes most of the functionality of the current put_device(). It should be called by the bus driver when a device is physically removed from the system. It should _not_ be called from a driver's remove() method, as that remove() method is called via device_detach() in device_unregister(). dev->present is used to flag the physical presence of the device. It is set when the device is registered, and cleared when unregistered. get_device() checks this flag, and returns a NULL pointer if cleared. This prevents anyone from obtaining a reference to a device that has been unregistered (removed), but not yet been freed (e.g. if someone else is holding a reference to it). put_device() BUG()s if dev->present is set. A device should be unregistered before it is freed. This will catch people doing it in the wrong order.
-
- 07 Oct, 2002 18 commits
-
-
Andy Grover authored
into groveronline.com:/root/bk/linux-acpi
-
Linus Torvalds authored
-
David Brownell authored
That previous patch got rid of a boot time might_sleep() warning, but I noticed two later on: - kmalloc() needed SLAB_ATOMIC - destroying the 'pools' driverfs attribute could sleep too The clean/simple patch for the second one tweaked an API: - pci_pool_create() can't be called in_interrupt() any more. nobody used it there, and such support isn't needed; plus that rule matches its sibling call, pci_pool_destroy(). - that made its SLAB_* flags parameter more useless, so it's removed and the DMA-mapping.txt is updated. (this param was more trouble than it was worth -- good that it's gone.) Nobody (even DaveM) objected to those API changes, so I think this should be merged.
-
Andy Grover authored
into groveronline.com:/root/bk/linux-acpi
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
-
Chuck Lever authored
This adds initial support for NFS direct I/O in the 2.5 kernel. many have asked for this support to be included in 2.5. this patch does not provide working NFS direct I/O, but i'm sending what i have now so that it can be included before October 20. NFS direct I/O is enabled by its very own kernel config option. when enabled, the NFS client won't build to prevent people from using this and possibly corrupting their NFS files. later i will send a patch that finishes the implementation. [ Config option currently disabled ]
-
Chuck Lever authored
This makes the NFS client copy the page->index field into its read and write request structures (struct nfs_page) when setting up I/O on a page. this makes it possible for NFS direct I/O support to reuse existing NFS client subroutines, and helps eventually allow NFS I/O to and from anonymous pages. it is a prerequisite for NFS direct I/O support.
-
Chuck Lever authored
This makes file credentials available to the ->direct_IO address space operation by replacing its struct inode* argument with a struct file* argument. this patch is a prerequisite for NFS direct I/O support. it breaks the raw device driver.
-
Martin Schwidefsky authored
Get rid of name and bdev in dasd_device_t structure.
-
Jens Axboe authored
IDE uses u32 as being an io port, which is wrong. We even have an arch type for this, ide_ioreg_t. Use that. Also fix a bad printk() in ide-disk, introduced with the swsusp stuff.
-
Steven Whitehouse authored
This is a simple fix to aio.c:__aio_get_req() where it appears that a freed aio request could be incorrectly returned in the error path,
-
http://linux-isdn.bkbits.net/linux-2.5.isdnLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
bk://jfs.bkbits.net/linux-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/net-2.5
-
bk://linux.bkbits.net/linux-2.5Dave Kleikamp authored
into hostme.bitkeeper.com:/ua/repos/j/jfs/linux-2.5
-
David S. Miller authored
-
- 06 Oct, 2002 5 commits
-
-
David S. Miller authored
-
Kai Germaschewski authored
It does not make sense for all events (like timer expiry), but for some uses it's helpful for the called routine to return an error code.
-
Kai Germaschewski authored
Do dial-out via the state machine as well, and add a state to wait for the D-channel hangup as well before unbinding the isdn_net_dev. Plus assorted compile/warning fixes.
-
Kai Germaschewski authored
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.isdn
-
David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/net-2.5
-
- 07 Oct, 2002 1 commit
-
-
Arnaldo Carvalho de Melo authored
And also move MODULE_LICENSE from aarp.c to ddp.c, as its there that the module_init/exit is. Also added MODULE_AUTHOR and MODULE_DESCRIPTION.
-
- 06 Oct, 2002 12 commits
-
-
David S. Miller authored
-
David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5
-
David S. Miller authored
into nuts.ninka.net:/home/davem/src/BK/net-2.5
-
Arnaldo Carvalho de Melo authored
Thanks to Al Viro for reviewing this, this also fixes the example that made me do this copy'n'paste brain fart.
-
Arnaldo Carvalho de Melo authored
Also some CodingStyle cleanups.
-
David S. Miller authored
-
Kai Germaschewski authored
-
Kai Germaschewski authored
Armin Schindler converted the driver to use tasklets, which makes more sense than the new work_struct stuff here.
-
Kai Germaschewski authored
-
Kai Germaschewski authored
Add a finite state machine helper module, which is basically copied over from the hisax driver with a little bit of beautification. Eventually, all ISDN should be converted to using these routines.
-
Martin Devera authored
-
Kai Germaschewski authored
No code change, just move the call control state machine from isdn_net.c to isdn_net_lib.c
-