Original code exchange the device id of sata1 and sata2 that controlled by
pciide0 because of the position mistakes, but the device id of sata5 and ide that
controlled by pciide1 were exchanged either, so which caused the bug as
"http://www.loongson.cn/dev/bugzilla/show_bug.cgi?id=412" described.
Now the device id of sata5 and ide won't be exchanged.
Targets: Bonito3a780e Bonito3b780e Bonito3b1500
Before: If we press the shuangfeiyan usb keyboard when the usb ohci
controller enumerate the usb devices, the usb keyboard could not work properly.
because the original code did not deal with the message from usb keyboard, so
it caused the problem as bug 382 described
http://10.2.5.24/dev/bugzilla/show_bug.cgi?id=382 shows.
Now: I add the handling code into the delay founction, so the message from the
usb keyboard can be dealed with immediately.
Test: Insert the shuangfeiyan usb keyboard, start up and press the keyboard before
the PMON command line, the keyboard can work properly.
Targets: All
Before: When port1 and port2 had hard disks, we found that port2 was wd0 and port1 was
wd1,because the code scaned port2 earlier than port1, so it caused the problem as bug 278
described as http://10.2.5.24/dev/bugzilla/show_bug.cgi?id=278 shows.
Now: When port1 and port2 have hard disks, we exchange the names of their device structure in
linked list of device.
Test: Make sure that port1 and port2 have hard disks, and boot to PMON interface, run "load
/dev/fs/ext2@wd0/boot/" and "load /dev/fs/ext2@wd1/boot/", you will find that informations
are right.
Targets: All
Before: LSI 8708EM2 SAS RAIDm can not work.
Now: LSI 8708EM2 SAS RAIDm can work.
Test: In pmon, LSI 8708EM2 SAS RAIDm can work.
Thanks wanchao@loongson.cn
Targets:Bonito3asever