As Yamikotai said, usually hardware first. And technically, almost all hardware needs drivers, except Windows installs many of them for you when you install the Windows OS - drivers for major vendors and many others as well. Obviously others have to be added when you install the after market hardware.