Date: Fri, 21 Jan 2000 21:17:48 +0900 From: Kenjiro Cho <kjc@csl.sony.co.jp> To: current@freebsd.org Cc: Yoichi Shinoda <shinoda@jaist.ac.jp> Subject: pci_write_config arg order Message-ID: <20000121211748V.kjc@csl.sony.co.jp>
next in thread | raw e-mail | index | archive | help
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 <shinoda@jaist.ac.jp> -Kenjiro To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000121211748V.kjc>