"any bonus or extra attacks" must be read as bonus attacks or extra attacks. To have both 'attacks' would be superfluous. Otherwise whirlwind can't use the magic of a weapon, masterwork quality, favoured enemy bonuses, or even the ability to get through damage reduction. This is an obvious...