- 22 Sep, 2002 4 commits
-
-
Alexander Viro authored
tapeblock never assignes anything to its elements of blk_size[][]; we could not bother allocating it in the first place.
-
Alexander Viro authored
More trivial fixes: typos in partitions/check.c, block/floppy.c and acorn/block/fd1772.c + replacement of #define with inline in block/floppy.c (fd_eject()).
-
Adrian Bunk authored
Some trivial fixes for some typos introduced by Al's gendisk changes.. - missing comma in cdu31a - missing semicolon in cdu31a - comma instead of colon in gscd - semicolon instead of comma in mcd - missing closing bracket in sonycd535
-
Linus Torvalds authored
From Andries.
-
- 21 Sep, 2002 36 commits
-
-
Andrew Morton authored
From davem: replace `unsigned' with size_t.
-
http://gkernel.bkbits.net/net-drivers-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
into mandrakesoft.com:/home/jgarzik/repo/net-drivers-2.5
-
Jeff Garzik authored
into mandrakesoft.com:/home/jgarzik/repo/net-drivers-2.5
-
Javier Achirica authored
(releases memory block after read out)
-
Javier Achirica authored
-
Javier Achirica authored
-
Javier Achirica authored
-
Javier Achirica authored
[note - more work needs to be done here, but this is better than nothing -jgarzik]
-
Javier Achirica authored
-
Linus Torvalds authored
-
Linus Torvalds authored
floppies and CD's in /proc/partitions.
-
Martin J. Bligh authored
Some idiot (OK, it was me) broke free_area_init_node for non discontigmem systems that call it directly (eg sparc64), during a recent cleanup, thus invoking the wrath of DaveM. I know Dave sent you a patch yesterday, but I think the BUG statement in it will break anyone who just uses free_area_init (eg any PC). So here's a portion of Dave's patch that should fix things for everyone I think. Unfortunately my non-NUMA test box is borked right now, but it just removes the BUG statement from what he tested, and it's so simple that even I couldn't screw this up (famous last words). This code really needs some more cleanup work, but this will fix it for now so everyone can do their work ...
-
Linus Torvalds authored
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Alexander Viro authored
swim_iop switched to use of gendisk
-
Alexander Viro authored
acorn floppy switched to use of gendisk
-
Alexander Viro authored
xpram switched to use of gendisk
-
Alexander Viro authored
nbd switched to use of gendisk
-
Alexander Viro authored
rd switched to use of gendisk
-
Alexander Viro authored
stram switched to use of gendisk
-
Alexander Viro authored
sonycd switched to use of gendisk; missing initcall restored
-
Alexander Viro authored
sjcd switched to use of gendisk; missing initcall restored
-
Alexander Viro authored
optcd switched to use of gendisk; missing initcall restored
-
Alexander Viro authored
gscd switched to use of gendisk; missing initcall restored
-
Alexander Viro authored
aztcd switched to use of gendisk; missing initcall restored (aztcd_init() and friends used to be called directly from blk_dev_init(); apparently the first step of bio merge had killed these calls but left module_init() in these drivers under #ifdef MODULE).
-
Alexander Viro authored
loop switched to use of gendisk
-
Alexander Viro authored
swim3 switched to use of gendisk
-
Alexander Viro authored
That's a tricky one and large part of that stuff is temporary - it will be replaced as soon as we have gendisks for all block devices and get sane refcounting for gendisks. * we add per-major lists of gendisks; get_gendisk() looks into appropriate list instead of looking through the list of all gendisks. * we allow driver to override that search - it can call blk_set_probe(major, probe) and then gendisk will call probe(minor). blk_set_probe(major, NULL) restores the default behaviour. * floppy.c switched to use of gendisks; we have one gendisk per disk and let floppy_find(minor) return the right one. Note that final mechanism will involve a similar construction but floppy.c is actually the least interesting application - places where it will really play will include stuff like loading the right high-level driver when we open /dev/hdX, etc. And it won't be major-based...
-
Alexander Viro authored
partition_name() moved from md.c to partitions/check.c; disk_name() is not exported anymore; partition_name() takes dev_t instead of kdev_t.
-
Alexander Viro authored
Almost all callers of add_gendisk() were immediately followed by register_disk(disk, mk_kdev(disk->major,disk->first_minor), 1<<disk->minor_shift, disk->fops, something); The only exception (DAC960.c) massaged to that form. New helper (add_disk(disk)) introduced and aforementioned sequence replaced with set_capacity(disk, something); add_disk(disk);
-
Alexander Viro authored
pf switched to use of gendisk and cleaned up - we pass pointers to structures instead of minors now.
-
Alexander Viro authored
pf.c fed through lindent
-
Alexander Viro authored
beginning of macroectomy in pf.c: RR and WR macros replaced with saner inlines a-la pcd.c
-
Alexander Viro authored
mtdblock_ro switched to use of gendisk, both mtdblock.c and mtdblock_ro.c slightly cleaned up.
-
Alexander Viro authored
jsflash switched to use of gendisk
-