OK. Maybe I'm the only one confused but why should the hard_reset called from hardwaremain in C really do a soft reset. Wouldn't it be better to call it soft_reset? Or maybe comment the code if hard_reset needs to do a soft reset? And your sure the cf9 port is enabled? Right?
Steve
-----Original Message----- From: yhlu [mailto:yinghailu@gmail.com] Sent: Thursday, June 23, 2005 11:30 AM To: Kimball, Stephen Cc: YhLu@tyan.com; linuxbios@openbios.org Subject: Re: [LinuxBIOS] Merge complete....
stephen,
that's right.
in auto.c stage, the hard reset is real one it will reset pci space and ht (freq/width). the soft reset will keep the ht (freq/width). the hard_reset is called when ram init exception.
in the linuxbios_ram stage totally in c ( from hardwaremain, or the root_reset_bus) is actually a soft reset, it will keep the ht (freq/width)
the problem i met is problem ck804 doesn't reconfig ht two times.
YH