linux-stable-rt/arch/um/drivers
Christoph Hellwig a885c8c431 [PATCH] Add block_device_operations.getgeo block device method
HDIO_GETGEO is implemented in most block drivers, and all of them have to
duplicate the code to copy the structure to userspace, as well as getting
the start sector.  This patch moves that to common code [1] and adds a
->getgeo method to fill out the raw kernel hd_geometry structure.  For many
drivers this means ->ioctl can go away now.

[1] the s390 block drivers are odd in this respect.  xpram sets ->start
    to 4 always which seems more than odd, and the dasd driver shifts
    the start offset around, probably because of it's non-standard
    sector size.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Jens Axboe <axboe@suse.de>
Cc: <mike.miller@hp.com>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Paolo Giarrusso <blaisorblade@yahoo.it>
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Neil Brown <neilb@cse.unsw.edu.au>
Cc: Markus Lidel <Markus.Lidel@shadowconnect.com>
Cc: Russell King <rmk@arm.linux.org.uk>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-08 20:13:54 -08:00
..
Makefile
chan_kern.c [PATCH] uml: Add throttling to console driver 2006-01-06 08:33:46 -08:00
chan_user.c [PATCH] uml console channels: fix the API of console_write 2005-11-13 18:14:14 -08:00
cow.h
cow_sys.h
cow_user.c
daemon.h
daemon_kern.c
daemon_user.c [PATCH] uml: fix daemon transport exit path bug 2005-11-13 18:14:15 -08:00
fd.c [PATCH] uml console channels: remove console_write wrappers 2005-11-13 18:14:14 -08:00
harddog_kern.c
harddog_user.c
hostaudio_kern.c
line.c [PATCH] uml: SIGWINCH handling cleanup 2006-01-06 08:33:47 -08:00
mcast.h
mcast_kern.c
mcast_user.c
mconsole_kern.c [PATCH] uml: fix whitespace in mconsole driver 2006-01-06 08:33:48 -08:00
mconsole_user.c [PATCH] uml: add mconsole_reply variant with length param 2006-01-06 08:33:47 -08:00
mmapper_kern.c
net_kern.c [PATCH] uml: free network IRQ correctly 2006-01-06 08:33:48 -08:00
net_user.c
null.c
pcap_kern.c
pcap_user.c
pcap_user.h
port.h
port_kern.c
port_user.c [PATCH] uml console channels: remove console_write wrappers 2005-11-13 18:14:14 -08:00
pty.c [PATCH] uml console channels: remove console_write wrappers 2005-11-13 18:14:14 -08:00
random.c
slip.h
slip_common.c
slip_common.h
slip_kern.c
slip_user.c
slirp.h
slirp_kern.c
slirp_user.c
ssl.c [PATCH] uml: Add throttling to console driver 2006-01-06 08:33:46 -08:00
ssl.h
stderr_console.c
stdio_console.c [PATCH] uml: Add throttling to console driver 2006-01-06 08:33:46 -08:00
stdio_console.h
tty.c [PATCH] uml console channels: remove console_write wrappers 2005-11-13 18:14:14 -08:00
ubd_kern.c [PATCH] Add block_device_operations.getgeo block device method 2006-01-08 20:13:54 -08:00
ubd_user.c
xterm.c [PATCH] uml console channels: remove console_write wrappers 2005-11-13 18:14:14 -08:00
xterm.h
xterm_kern.c