Annotation of driverkit/notes/DeviceStartup, revision 1.1

1.1     ! root        1: device driver startup - single dev_type device
        !             2: 
        !             3:        get all dev_ports assigned to us via bootstrap_info() 
        !             4:                and bootstrap_look_up();
        !             5:        thisUnit = 0;
        !             6:        for each dev_port {
        !             7:                dev_type = dev_port_to_type();
        !             8:                if dev_type bad
        !             9:                        dev_port_destroy();
        !            10:                else { 
        !            11:                        [thisDevice probe:dev_port 
        !            12:                                type:dev_type 
        !            13:                                unit:thisUnit++];
        !            14:                }
        !            15:        }
        !            16:        
        !            17: SCSI device
        !            18:        get all dev_ports assigned to us via bootstrap_info() 
        !            19:                and bootstrap_look_up();
        !            20:        thisUnit = 0;
        !            21:        for each dev_port {
        !            22:                dev_type = dev_port_to_type();
        !            23:                if dev_type bad
        !            24:                        dev_port_destroy();
        !            25:                else {
        !            26:                        [thisDevice probe:dev_port 
        !            27:                                type:dev_type 
        !            28:                                unit:thisUnit++];
        !            29:                        [SCSIDisk probe:SCSIControllerId];
        !            30:                }
        !            31:        }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.