linux/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
..
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_sys.h
cow_user.c [PATCH] uml: cleanup byte order macros for COW driver 2005-10-10 08:36:00 -07:00
cow.h [PATCH] uml: cleanup whitespace for COW driver 2005-10-10 08:36:00 -07:00
daemon_kern.c
daemon_user.c [PATCH] uml: fix daemon transport exit path bug 2005-11-13 18:14:15 -08:00
daemon.h
fd.c [PATCH] uml console channels: remove console_write wrappers 2005-11-13 18:14:14 -08:00
harddog_kern.c [PATCH] uml: separate libc-dependent helper code 2005-11-07 07:53:31 -08:00
harddog_user.c [PATCH] uml: separate libc-dependent helper code 2005-11-07 07:53:31 -08:00
hostaudio_kern.c
line.c [PATCH] uml: SIGWINCH handling cleanup 2006-01-06 08:33:47 -08:00
Makefile [PATCH] uml: revert block driver use of host AIO 2005-10-12 08:22:26 -07:00
mcast_kern.c
mcast_user.c [PATCH] uml: fix mcast network driver error handling 2005-11-13 18:14:14 -08:00
mcast.h
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 [PATCH] mmaper_kern.c fixes [buffer overruns] 2005-08-27 10:11:40 -07:00
net_kern.c [PATCH] uml: free network IRQ correctly 2006-01-06 08:33:48 -08:00
net_user.c [PATCH] uml: separate libc-dependent helper code 2005-11-07 07:53:31 -08:00
null.c
pcap_kern.c
pcap_user.c
pcap_user.h
port_kern.c [PATCH] useless linux/irq.h includes (arch/um) 2005-09-30 08:42:24 -07:00
port_user.c [PATCH] uml console channels: remove console_write wrappers 2005-11-13 18:14:14 -08:00
port.h
pty.c [PATCH] uml console channels: remove console_write wrappers 2005-11-13 18:14:14 -08:00
random.c [PATCH] um: fix-up schedule_timeout() usage 2005-11-07 07:53:56 -08:00
slip_common.c
slip_common.h
slip_kern.c
slip_user.c [PATCH] uml: separate libc-dependent helper code 2005-11-07 07:53:31 -08:00
slip.h
slirp_kern.c
slirp_user.c [PATCH] uml: separate libc-dependent helper code 2005-11-07 07:53:31 -08:00
slirp.h
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 [PATCH] uml: revert block driver use of host AIO 2005-10-12 08:22:26 -07:00
xterm_kern.c
xterm.c [PATCH] uml console channels: remove console_write wrappers 2005-11-13 18:14:14 -08:00
xterm.h