1. 21 Sep, 2002 19 commits
    • Alexander Viro's avatar
      [PATCH] gendisk for aztcd · 4da35fb8
      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).
      4da35fb8
    • Alexander Viro's avatar
      [PATCH] gendisk for loop · 17ccd2fb
      Alexander Viro authored
      loop switched to use of gendisk
      17ccd2fb
    • Alexander Viro's avatar
      [PATCH] gendisk for swim3 · 7089adfc
      Alexander Viro authored
      swim3 switched to use of gendisk
      7089adfc
    • Alexander Viro's avatar
      [PATCH] beginning of probe_disk() and gendisks for floppy · 443ac9b2
      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...
      443ac9b2
    • Alexander Viro's avatar
      [PATCH] removal of bogus exports · ceb1ee4c
      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.
      ceb1ee4c
    • Alexander Viro's avatar
      [PATCH] switch to add_disk() · bc2ce86f
      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);
      bc2ce86f
    • Alexander Viro's avatar
      [PATCH] gendisk for pf.c · 50580f89
      Alexander Viro authored
      pf switched to use of gendisk and cleaned up - we pass pointers to structures
      instead of minors now.
      50580f89
    • Alexander Viro's avatar
      [PATCH] Lindent pf.c · 43130446
      Alexander Viro authored
      pf.c fed through lindent
      43130446
    • Alexander Viro's avatar
      [PATCH] crapectomy in pf.c - part 1 · e714bc9e
      Alexander Viro authored
      beginning of macroectomy in pf.c: RR and WR macros replaced with saner
      inlines a-la pcd.c
      e714bc9e
    • Alexander Viro's avatar
      [PATCH] gendisk for mtdblock_ro · 56aa021c
      Alexander Viro authored
      mtdblock_ro switched to use of gendisk, both mtdblock.c and mtdblock_ro.c
      slightly cleaned up.
      56aa021c
    • Alexander Viro's avatar
      [PATCH] gendisk for jsflash · 95bf6a39
      Alexander Viro authored
      jsflash switched to use of gendisk
      95bf6a39
    • Alexander Viro's avatar
      [PATCH] misc cleanups · 4f5f78e6
      Alexander Viro authored
      assorted minor cleanups
      4f5f78e6
    • Alexander Viro's avatar
      [PATCH] devfs handling for cdroms moved to register_disk() · 16a974dc
      Alexander Viro authored
      devfs-related stuff moved from cdrom.c and cdrom drivers to register_disk();
      new flag (GENHD_FL_CD) marks gendisks that need such treatment.
      16a974dc
    • Alexander Viro's avatar
      [PATCH] gendisk for sbpcd · b39472ce
      Alexander Viro authored
      sbpcd switched to use of gendisk
      b39472ce
    • Alexander Viro's avatar
      [PATCH] gendisk for mcdx · f52c3034
      Alexander Viro authored
      mcdx switched to use of gendisk
      f52c3034
    • Alexander Viro's avatar
      [PATCH] gendisk for mcd · 6606a03e
      Alexander Viro authored
      mcd switched to use of gendisk, failure path in module_init cleaned up
      6606a03e
    • Alexander Viro's avatar
      [PATCH] gendisk for cm206 · 6ccb8d02
      Alexander Viro authored
      cm206 switched to use of gendisk, failure path in module_init cleaned up
      6ccb8d02
    • Alexander Viro's avatar
      [PATCH] gendisk for cdu31a · cce4287b
      Alexander Viro authored
      cdu31a switched to use of gendisk
      cce4287b
    • Alexander Viro's avatar
      [PATCH] gendisk for pcd · 118ecb9e
      Alexander Viro authored
      pcd switched to use of gendisk
      118ecb9e
  2. 20 Sep, 2002 3 commits
  3. 21 Sep, 2002 11 commits
  4. 20 Sep, 2002 7 commits