Not familiar with your particular BIOS, but if it is 1998 or newer, you should have no trouble with a 40 GB drive.
If, however, it has trouble, just about all drives now come with software that will make it work . . . such as Disk Manager or EZ-Drive. But, don't use those unless you have to. They slow down the boot process considerably.