]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change the dev argument from a full path to just the device
authormarcel <marcel@FreeBSD.org>
Sun, 26 Jul 2015 21:37:31 +0000 (21:37 +0000)
committermarcel <marcel@FreeBSD.org>
Sun, 26 Jul 2015 21:37:31 +0000 (21:37 +0000)
commita1823ab55e152ac47502eec09cf01b23ef1e9bb3
tree59ac184600735945ed7377cd16ed2f73e6490328
parenteb9cf93f912e1018f8d81e7512e11b4d97b78c95
Change the dev argument from a full path to just the device
identification (e.g. isa:0x3f0 or pci0:2:1:0). In libbus,
the device is turned into a path name. For bus_space_map(),
the resource is now specified in a second argument.
Before:
bus.map('/dev/proto/pci0:2:1:0/pcicfg')
busdma.tag_create('/dev/proto/pci0:2:1:0/busdma', ...)
Now:
bus.map('pci0:2:1:0', 'pcicfg')
busdma.tag_create('pci0:2:1:0', ...)
tools/bus_space/C/lang.c
tools/bus_space/C/libbus.h
tools/bus_space/Python/lang.c
tools/bus_space/bus.c
tools/bus_space/bus.h
tools/bus_space/busdma.c