• Martin Dalecki's avatar
    [PATCH] 2.5.6-pre1 IDE cleanup 10 · f0a86f5a
    Martin Dalecki authored
    This is finishing the cleanup parts already started in ide-clean-9.
    
    It kills the ide_register_module() and ide_unregister_module() as well
    as associated idiosyncracies alltogether. It turns out
    that this patch is actually fixing a bug which was present in the
    driver before: the sub-module initialization functions where called
    at least twice - which is an abundance.
    
    Tough there is a bit of global namespace pollution caused by this
    patch - but I'm aware of it and will fix it just a bit later.
    (The terminology used inside the IDE code is anyway nothing common
    else in the linux universum...)
    
    The next targets will be:
    
    1. Code obfuscation by "wrappers" around generic BIO level functions.
    
    2. ide_hwgroup_t - which is only used to serialize multiple
    discs on the same interrupt and similar. This is however a tough one.
    
    3. There is a plenty of code waste in the chipset drivers, where there
    is baroque informative code for the proc file system for static stuff,
    which in fact belongs just to syslog(). In fact the default RedHat
    distribution kernel is killing this gratitious abuse of the /proc
    concept since a long long time...
    
    I'm still awaiting the day of /proc/GPL, where GPL contains the
    full text of it...
    f0a86f5a
ide-scsi.c 26.2 KB