In a landmark agreement, two of the nation's most prominent hospitals are pledging to spend millions of dollars to resolve complaints that ill-suited equipment and sometimes-indifferent medical workers make disabled patients feel unwelcome. Massachusetts General Hospital and Brigham and Women's Hospital promised to scour every ward for evidence of physical barriers and equipment inaccessible to the disabled. Staff members will undergo training to make sure they understand and respond to the needs of patients who have trouble walking, seeing, or hearing.