I have implemented a character driver under X86 based Solaris 10 release 3/05 that interfaces with a device on the ISA/LPC interface using Intels 6300ESB I/O controller Hub. This device is not defined by the system BIOS at boot time, so we had to do this manually by modifying the boot startup script in boot/solaris/boot.rc to create a device node and open up the relevant address space we needed to access our device. We have a package that installs all the necessary pieces for the new driver and this has worked just fine under the 3/05 version of Solaris 10.
It does not work under X86 based Solaris 10 Update 1 - which is what our customer is using. The driver itself is very simple and only accesses 3 bytes in LPC space. The relevant changes in boot.rc made to allow access to this space are shown below. I have tried to add these changes to bootenv.rc, but /usr/sbin/eeprom generates error messages on the mknod, cd and setbinprop lines. Does anyone have any suggestions on what I might try? Lou # Set node for IPMI LPC SMIC interface space in PCI IO space. mknod /[EMAIL PROTECTED],0/ipmi_lpc cd /[EMAIL PROTECTED],0/ipmi_lpc setprop device-type pci setprop name "ipmi_lpc" setprop unit-address 0x1f setbinprop assigned-addresses 0x0000f800,0x0,0x0,0x0,0x0,0x8100f8ec,0x0,0x00000ca0,0x0,0x00000010 setbinprop device-id 0x25a1 setbinprop vendor-id 0x8086 setbinprop class-code 0x060100 setbinprop reg 0x0000f800,0,0,0,0,0x0100F8EC,0x0,0x00000000,0x00000000,0x00000010 This message posted from opensolaris.org _______________________________________________ opensolaris-discuss mailing list [email protected]
