A Chinese drywall manufacturer facing thousands of homeowners’ court claims and several other companies have agreed to pay to repair 300 homes in four states in a pilot program, an attorney involved in the deal said Wednesday.

Homeowners in Florida, Louisiana, Alabama and Mississippi whose homes had drywall manufactured by Knauf Plasterboard Tianjin Co. will be eligible to participate in the program and get their homes fixed, said Richard Duplantier Jr., an attorney for a Louisiana-based drywall supplier.