• Alexander Viro's avatar
    [PATCH] ide.c cleaned up · 6dc95b4c
    Alexander Viro authored
    	* got ->private_data and ->queue set
    	* got blk_register_region() done in ide-probe.c
    	* module loading removed from ide_open() (and taken to probe)
    	* ->open() and friends are using ->bd_disk->private_data instead of
    	  messing with get_info_ptr(inode->i_rdev)
    	* request handler uses ->rq_disk->private_data instead of DEVICE_NR(...)
    	* DEVICE_NR() removed.
    	* switched to new methods.
    	* get_info_ptr() killed.
    	* ide_xlate_1024() switched to struct block_device * (probably should
    	  simply die).
    
    NOTE: ide-tape pulls mind-boggling crap - it can be opened as a block
    device, but you can't do any IO on it; only IDE ioctls.  It happens to
    work (almost by accident), but I'd really prefer to take said ioctls to
    driverfs and be done with that. 
    
    NOTE: WTF are ide{disk,cd,tape,scsi,floppy} lists? They are defined,
    exported and never touched by anything. 
    6dc95b4c
msdos.c 12.3 KB