pci_write_config() and pci_cfgwrite() defined in sys/pci/pcivar.h 
have an unusual argument order:

        pci_read_config(dev, reg, width)
        pci_write_config(dev, reg, val, width)

        pci_cfgread(cfg, offset, size)
        pci_cfgwrite(cfg, offset, val, size)

Apparently, pcisupport.c and isp_pci.c misplace the 3rd and 4th args.

Could someone take a look?

Reported by Yoichi Shinoda <[EMAIL PROTECTED]>

-Kenjiro


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to