Re: Need to access Specific EHCI operational registers



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)
  • 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)
  • BTX halted
    ... PCI: PCI BIOS revision 2.20 entry at 0xeca48, ... PCI: Using IRQ router PIIX at 00:1f.0 ... Serial driver version 5.05c with HUB-6 MANY_PORTS MULTIPORT ... Internal registers self-test: passed. ...
    (freebsd-current)
  • Re: Radeon in LK 2.4.21pre7
    ... >engine registers, and is usually cured by switching to another console ... PCI: PCI BIOS revision 2.10 entry at 0xfb260, ... Serial driver version 5.05c with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled ... usb.c: new USB bus registered, ...
    (Linux-Kernel)
  • RE: High load since upgrade
    ... ACPI: bus type pci registered ... usbcore: registered new driver usbfs ... Internal registers self-test: passed. ... mounted filesystem with ordered data mode. ...
    (Linux-Kernel)