summaryrefslogtreecommitdiffstats
path: root/drivers/char/epca.c
Commit message (Expand)AuthorAgeFilesLines
* tty: rewrite the ldisc lockingAlan Cox2009-06-111-2/+2
* epca: fix test_bit parametersJiri Slaby2009-06-111-4/+5
* tty: Add carrier processing on close to the tty_port coreAlan Cox2009-06-111-2/+2
* trivial: fix an -> a typos in documentation and commentsFrederik Schwarzer2009-01-061-1/+1
* tty: Redo the rocket driver lockingAlan Cox2009-01-021-7/+2Star
* tty: Make epca use the port helpersAlan Cox2009-01-021-148/+24Star
* tty: refcount the epca driverAlan Cox2009-01-021-12/+15
* tty: relock epcaAlan Cox2009-01-021-91/+104
* tty: Remove some pointless castsAlan Cox2009-01-021-5/+5
* epca: Add infinite break supportAlan Cox2008-10-201-1/+5
* epca: call tty_port_initAlan Cox2008-10-131-4/+1Star
* Fix the epca driver to permit epca_setup() to be invoked from the kernel cmdlineDavid Howells2008-07-221-2/+13
* epca: Restore driverAlan Cox2008-07-221-29/+9Star
* epca: Fix comments and move breakAlan Cox2008-07-221-5/+0Star
* epca: use tty_portAlan Cox2008-07-211-53/+53
* tty: Ldisc revampAlan Cox2008-07-211-2/+2
* epca: coding styleAlan Cox2008-04-301-118/+158
* tty/serial: lay the foundations for the next set of reworksAlan Cox2008-04-301-11/+2Star
* epca.c: static functions and integer as NULL pointer fixesHarvey Harrison2008-04-301-4/+5
* epca: lock_kernel push downAlan Cox2008-04-301-15/+2Star
* drivers/char/: Spelling fixesJoe Perches2008-02-031-2/+2
* epca.c: reformat comments and coding style improvementsAlexey Dobriyan2007-10-171-1409/+1202Star
* drivers/char: use __set_current_state()Milind Arun Choudhary2007-05-081-1/+1
* [PATCH] char/epca.c: remove unused functionMichal Piotrowski2007-03-051-17/+0Star
* [PATCH] Char: tty_wakeup cleanupJiri Slaby2007-02-111-3/+0Star
* [PATCH] tty: switch to ktermiosAlan Cox2006-12-081-5/+11
* WorkStruct: make allyesconfigDavid Howells2006-11-221-4/+4
* [PATCH] epca: prevent panic on tty_register_driver() failureAkinobu Mita2006-10-171-9/+23
* [PATCH] char: kill unneeded memsetsJiri Slaby2006-10-041-15/+2Star
* [PATCH] const struct tty_operationsJeff Dike2006-10-021-1/+1
* Remove obsolete #include <linux/config.h>Jörn Engel2006-06-301-1/+0Star
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/devfs-2.6Linus Torvalds2006-06-291-1/+0Star
|\
| * [PATCH] devfs: Remove the tty_driver devfs_name field as it's no longer neededGreg Kroah-Hartman2006-06-261-1/+0Star
* | [PATCH] spin/rwlock init cleanupsIngo Molnar2006-06-281-1/+1
|/
* BUG_ON() Conversion in drivers/charEric Sesterhenn2006-03-261-2/+1Star
* [PATCH] TTY layer buffering revampAlan Cox2006-01-101-13/+4Star
* [PATCH] PCI: removed unneeded .owner field from struct pci_driverGreg Kroah-Hartman2005-11-111-1/+0Star
* [PATCH] epca: update .owner field of struct pci_driverLaurent Riffard2005-10-311-0/+1
* [PATCH] epca iomem annotations + several missing readw()Al Viro2005-09-161-40/+44
* [PATCH] Clean up the old digi support and rescue itAlan Cox2005-09-081-1129/+459Star
* Linux-2.6.12-rc2Linus Torvalds2005-04-171-0/+3789
n class='column1'>| | | | | git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6 * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6: (52 commits) init: Open /dev/console from rootfs mqueue: fix typo "failues" -> "failures" mqueue: only set error codes if they are really necessary mqueue: simplify do_open() error handling mqueue: apply mathematics distributivity on mq_bytes calculation mqueue: remove unneeded info->messages initialization mqueue: fix mq_open() file descriptor leak on user-space processes fix race in d_splice_alias() set S_DEAD on unlink() and non-directory rename() victims vfs: add NOFOLLOW flag to umount(2) get rid of ->mnt_parent in tomoyo/realpath hppfs can use existing proc_mnt, no need for do_kern_mount() in there Mirror MS_KERNMOUNT in ->mnt_flags get rid of useless vfsmount_lock use in put_mnt_ns() Take vfsmount_lock to fs/internal.h get rid of insanity with namespace roots in tomoyo take check for new events in namespace (guts of mounts_poll()) to namespace.c Don't mess with generic_permission() under ->d_lock in hpfs sanitize const/signedness for udf nilfs: sanitize const/signedness in dealing with ->d_name.name ... Fix up fairly trivial (famous last words...) conflicts in drivers/infiniband/core/uverbs_main.c and security/tomoyo/realpath.c | * Don't bother with d_genocide in rpc_pipeAl Viro2010-03-031-7/+2Star | | | | | | | | kill_litter_super() from ->kill_sb() will take care of the junk * | net: Fix first line of kernel-doc for a few functionsBen Hutchings2010-02-151-1/+1 |/ | | | | | | | The function name must be followed by a space, hypen, space, and a short description. Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net> * sunrpc/rpc_pipe: fix kernel-doc notationRandy Dunlap2009-09-231-1/+2 | | | | | | | Fix kernel-doc notation (& warnings) in sunrpc/rpc_pipe.c. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> * const: mark remaining super_operations constAlexey Dobriyan2009-09-221-1/+1 | | | | | | Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> * NFS: Add a dns resolver for use with NFSv4 referrals and migrationTrond Myklebust2009-08-201-0/+7 | | | | | | | | | | | | | The NFSv4 and NFSv4.1 protocols both allow for the redirection of a client from one server to another in order to support filesystem migration and replication. For full protocol support, we need to add the ability to convert a DNS host name into an IP address that we can feed to the RPC client. We'll reuse the sunrpc cache, now that it has been converted to work with rpc_pipefs. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> * SUNRPC: Fix a typo in cache_pipefs_filesTrond Myklebust2009-08-201-1/+1 | | | | | | | We want the channel to be a regular file, so that we don't need to supply rpc_pipe_ops. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> * SUNRPC: Add an rpc_pipefs front end for the sunrpc cache codeTrond Myklebust2009-08-091-0/+43 | | | | Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> * SUNRPC: One more clean up for rpc_create_client_dir()Trond Myklebust2009-08-091-28/+50 | | | | | | | | | | | In order to allow rpc_pipefs to create directories with different types of subtrees, it is useful to allow the caller to customise the subtree filling process. In order to do so, we separate out the parts which are specific to making an RPC client directory, and put them in a separate helper, then we convert the process of filling the directory contents into a callback. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> * SUNRPC: clean up rpc_setup_pipedir()Trond Myklebust2009-08-091-55/+3Star | | | | | | | | | | | | There is still a little wart or two there: Since we've already got a vfsmount, we might as well pass that in to rpc_create_client_dir. Another point is that if we open code __rpc_lookup_path() here, then we can avoid looking up the entire parent directory path over and over again: it doesn't change. Also get rid of rpc_clnt->cl_pathname, since it has no users... Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> * SUNRPC: Clean up rpc_create_client_dir()Trond Myklebust2009-08-091-42/+41Star | | | | | | | Factor out the code that does lookups from the code that actually creates the directory. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> * SUNRPC: Rename rpc_mkdir to rpc_create_client_dir()Trond Myklebust2009-08-091-6/+5Star | | | | | | | This reflects the fact that rpc_mkdir() as it stands today, can only create a RPC client type directory. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> * SUNRPC: rpc_pipefs cleanupTrond Myklebust2009-08-091-40/+40 | | | | | | Move the files[] array closer to rpc_fill_super() Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> * SUNRPC: Clean up rpc_populate/depopulateTrond Myklebust2009-08-091-86/+101 | | | | Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> * SUNRPC: Clean up rpc_lookup_createTrond Myklebust2009-08-091-41/+59 | | | | Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> * SUNRPC: Clean up rpc_unlink()Trond Myklebust2009-08-091-8/+27 | | | | Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> * SUNRPC: Clean up file creation code in rpc_pipefsTrond Myklebust2009-08-091-43/+77 | | | | Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> * SUNRPC: Clean up rpc_pipefs lookup code...Trond Myklebust2009-08-091-5/+10 | | | | Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> * SUNRPC: Allow rpc_pipefs_ops to have null values for upcall and downcallTrond Myklebust2009-08-091-4/+11 | | | | | | Also ensure that we use the umode_t type when appropriate... Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> * SUNRPC: Constify rpc_pipe_ops...Trond Myklebust2009-08-091-3/+4 | | | | Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> * constify dentry_operations: restAl Viro2009-03-271-1/+1 | | | | Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> * zero i_uid/i_gid on inode allocationAl Viro2009-01-051-2/+0Star | | | | | | | | | ... and don't bother in callers. Don't bother with zeroing i_blocks, while we are at it - it's already been zeroed. i_mode is not worth the effort; it has no common default value. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> * nfsd: support callbacks with gss flavorsOlga Kornievskaia2008-12-231-0/+5 | | | | | | | | This patch adds server-side support for callbacks other than AUTH_SYS. Signed-off-by: Olga Kornievskaia <aglo@citi.umich.edu> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> * rpc: call release_pipe only on last close\"J. Bruce Fields\2008-12-231-3/+6 | | | | | | | | | | | | | | | | I can't see any reason we need to call this until either the kernel or the last gssd closes the pipe. Also, this allows to guarantee that open_pipe and release_pipe are called strictly in pairs; open_pipe on gssd's first open, release_pipe on gssd's last close (or on the close of the kernel side of the pipe, if that comes first). That will make it very easy for the gss code to keep track of which pipes gssd is using. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> * rpc: add an rpc_pipe_open method\"J. Bruce Fields\2008-12-231-7/+15 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to transition to a new gssd upcall which is text-based and more easily extensible. To simplify upgrades, as well as testing and debugging, it will help if we can upgrade gssd (to a version which understands the new upcall) without having to choose at boot (or module-load) time whether we want the new or the old upcall. We will do this by providing two different pipes: one named, as currently, after the mechanism (normally "krb5"), and supporting the old upcall. One named "gssd" and supporting the new upcall version. We allow gssd to indicate which version it supports by its choice of which pipe to open. As we have no interest in supporting *simultaneous* use of both versions, we'll forbid opening both pipes at the same time. So, add a new pipe_open callback to the rpc_pipefs api, which the gss code can use to track which pipes have been open, and to refuse opens of incompatible pipes. We only need this to be called on the first open of a given pipe. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> * SUNRPC: Convert the xdr helpers and rpc_pipefs to EXPORT_SYMBOL_GPLTrond Myklebust2008-12-231-3/+3 | | | | | | | We've never considered the sunrpc code as part of any ABI to be used by out-of-tree modules. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> * SL*B: drop kmem cache argument from constructorAlexey Dobriyan2008-07-261-1/+1 | | | | | | | | | | | | | | | | | | | | | | | | Kmem cache passed to constructor is only needed for constructors that are themselves multiplexeres. Nobody uses this "feature", nor does anybody uses passed kmem cache in non-trivial way, so pass only pointer to object. Non-trivial places are: arch/powerpc/mm/init_64.c arch/powerpc/mm/hugetlbpage.c This is flag day, yes. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Acked-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Christoph Lameter <cl@linux-foundation.org> Cc: Jon Tollefson <kniht@linux.vnet.ibm.com> Cc: Nick Piggin <nickpiggin@yahoo.com.au> Cc: Matt Mackall <mpm@selenic.com> [akpm@linux-foundation.org: fix arch/powerpc/mm/hugetlbpage.c] [akpm@linux-foundation.org: fix mm/slab.c] [akpm@linux-foundation.org: fix ubifs] Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> * net: replace remaining __FUNCTION__ occurrencesHarvey Harrison2008-03-061-6/+6 | | | | | | | __FUNCTION__ is gcc-specific, use __func__ Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> * Introduce path_put()Jan Blunck2008-02-151-1/+1 | | | | | | | | | | | | | | | | | | | * Add path_put() functions for releasing a reference to the dentry and vfsmount of a struct path in the right order * Switch from path_release(nd) to path_put(&nd->path) * Rename dput_path() to path_put_conditional() [akpm@linux-foundation.org: fix cifs] Signed-off-by: Jan Blunck <jblunck@suse.de> Signed-off-by: Andreas Gruenbacher <agruen@suse.de> Acked-by: Christoph Hellwig <hch@lst.de> Cc: <linux-fsdevel@vger.kernel.org> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Steven French <sfrench@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> * Embed a struct path into struct nameidata instead of nd->{dentry,mnt}Jan Blunck2008-02-151-2/+3 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the central patch of a cleanup series. In most cases there is no good reason why someone would want to use a dentry for itself. This series reflects that fact and embeds a struct path into nameidata. Together with the other patches of this series - it enforced the correct order of getting/releasing the reference count on <dentry,vfsmount> pairs - it prepares the VFS for stacking support since it is essential to have a struct path in every place where the stack can be traversed - it reduces the overall code size: without patch series: text data bss dec hex filename 5321639 858418 715768 6895825 6938d1 vmlinux with patch series: text data bss dec hex filename 5320026 858418 715768 6894212 693284 vmlinux This patch: Switch from nd->{dentry,mnt} to nd->path.{dentry,mnt} everywhere. [akpm@linux-foundation.org: coding-style fixes] [akpm@linux-foundation.org: fix cifs] [akpm@linux-foundation.org: fix smack] Signed-off-by: Jan Blunck <jblunck@suse.de> Signed-off-by: Andreas Gruenbacher <agruen@suse.de> Acked-by: Christoph Hellwig <hch@lst.de> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Casey Schaufler <casey@schaufler-ca.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> * docbook: sunrpc filenames and notation fixesRandy Dunlap2008-02-14