A veterinarian prescribes phenobarbital for a 5-year-old dog diagnosed with idiopathic epilepsy.What is the primary mechanism of action for this drug?