Re: Need to access Specific EHCI operational registers

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



The purpose of this low level access is to write the I2C eeprom
connected to the NEC uPD720101. In this eeprom, there are the PCI
identification and some USB clock configuration.
We could always program the eeprom before mounting it on the board or
add specific complex hardware for that. But as some registers exist to
read/write the I2C eeprom in the EHCI operational regsiters, I would
like to access them
(only them) through the ehci.sys driver.
This driver must be mapping the PCI BAR and access to the standard area
of the EHCI operational regsiters.

Could it be possible to get the accesq through a filter driver?
I may always write a my own PCI driver but it looks like a lot work
aleady done in the standard drivers.

Eric


Doron Holan [MS] wrote:
there aren't any docs on this b/c this support doesn't exist. at what point
intime do you want to touch the registers? when the host controller powers
up? at runtime? if you still have control of the fw/hw design, put your
i2c functionality in a separate PCI function so that you can address them
w/your own driver w/out the usb core interfering.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"eric" <eric.moirez@xxxxxx> wrote in message
news:1159517879.756404.116580@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am developping a new PCI board with a NEC uPD720101.
I need to access the some specific registers in the EHCI operational
registers of the USB controler to program the I2C eeprom attached to
the NEC uPD720101.

I had a look in USB IOTCL available (IOCTL_USB_USER_REQUEST, ...) and I
could find any low level access to EHCI registers neither for user or
driver access.

Do you know if is possible or where I could find more documentation on
this?

Thanks,
Eric


.



Relevant Pages

  • 2.6.15-rc5-mm2 does not boot on AMD64 with sata_sil
    ... Using ACPI for IRQ routing ... Uniform CD-ROM driver Revision: 3.20 ... Using ACPI for SMP configuration information Allocating PCI resources starting at e2000000 Checking aperture... ... Real Time Clock Driver v1.12 hw_random: AMD768 system management I/O registers at 0x8000. ...
    (Linux-Kernel)
  • kernel problem
    ... Scanning 0 areas for low memory corruption ... Allocating PCI resources starting at bff00000 ... Performance Events: AMD PMU driver. ... generic registers: 4 ...
    (Linux-Kernel)
  • kernel problem
    ... Allocating PCI resources starting at bff00000 ... Performance Events: AMD PMU driver. ... generic registers: 4 ... USB 2.0 'Enhanced' Host Controller Driver ...
    (Linux-Kernel)
  • kernel problem
    ... Allocating PCI resources starting at bff00000 ... Performance Events: AMD PMU driver. ... generic registers: 4 ... USB 2.0 'Enhanced' Host Controller Driver ...
    (Linux-Kernel)
  • libata - wrong IDE cable detection with dvd burner
    ... ACPI: ... Allocating PCI resources starting at 88000000 ... Generic PHY: Registered new driver ... Internal registers self-test: passed. ...
    (Linux-Kernel)