1) Make sure that his/her employees' day-to-day work aligns with the goals of the company
2) Remove any and all roadblocks keeping employees from being efficient and effective in their work, even if it means risking political capital.
I've always fantasized that if I ran a company, when annual reviews came around, the reviews would be bi-directional. In order words, employees must (confidentially) review their managers as well as vice-versa.
Someone will eventually respond, "okay, but if you let, say, engineers have that much control over how a company operates, you're not going to have a profitable company for very long." To which I would respond: that's why you set the company culture and also you have to be diligent about letting people go who are not a good fit for the company's goals.
Because the reality is that 80% of the typical workforce (maybe even more in the case of engineers) has a lot of comments about how things could be better and how their manager is doing it all wrong. And those comments tend to come out in an unnecessarily strong negative form if you provide an anonymous forum. But most companies don't need more people telling you what's wrong, they need people that take a responsibility in improving it and move things forward.
You get promoted for making your superiors happy, not for making your reports happy.
What actually makes anyone happy is going to vary from organization to organization, from person to person, and from situation to situation. I've known managers whose job was 100% just to keep their subordinates happy, but that happened because keeping those roles filled was one of the company's major challenges.