-
rmustaccjbk: As in why did we look up the dip directly that way?
-
jbkyeah
-
jbk(or if there was no reason)
-
rmustaccI don't recall any particular reason. I would guess probably just implementation side effects.
-
jbkok
-
rmustaccit'd probably be reasonable to and drop the use of pci_bus_res. Sorry I don't have a better answer.
-
jbkno that's fine..
-
rmustaccIt probably would be better to do that and drop the use of pci_bus_res[] thinking out loud.
-
rmustaccI expect I was thinking I wanted to just separate the two so one could change that all out without impacting the logic per se.
-
jbkyeah, i'd like to get there... but for the stuff i'm doing, i'm trying to just do the same probing/allocation logic we do today, just repeated for each segment (more or less)
-
jbkbut having the code use a pointer to the struct pci_bus_resource instead of accessing the array directly everywhere would hopefully make it easier to repeat the logic for each segment
-
jbk(I'm trying to break things up into smaller logical chunks -- whether they get all squashed or not is TBD)
-
jbk(the other big bit is to use pci_cfgacc_xxx() and pass around the rc dip (or i guess root bridge if it's not pcie) as needed instead of directly calling the pci_{get,set}{b,w,l}() functions everywhere (at least in pci_boot.c and a few other places)
-
jbkthat does require a _small_ change in pci_boot.c, but not one that actually changes the actual probe logic (we need to create the bus 0 dip in the caller instead of in the callee so we can pass it as a parameter)
-
sommerfeldBTW I can report success with the github.com/LuminousMonkey/xf86-video-illumosfb on a system built around a "12th Gen Intel(r) Core(tm) i5-1235U"
-
tsoomesommerfeld hm, nice one.
-
gitomat[illumos-gate] 17902 unix: get firmware addresses from bootloader env -- Toomas Soome <tsoome⊙mc>
-
jbkrmustacc: didn't you start a driver for a broadcom NIC we don't have drives for (I can't remember what name it had)?
-
jbkit sounds like I probably need to add that to my list because Dell and HP seem to be in love with those NICs for some reason...
-
rmustaccI did, jbk. I'll try to follow up with you a bit later today on it.
-
gitomat[illumos-gate] 17989 libsa: fix sbrk() signature -- Toomas Soome <tsoome⊙mc>
-
gitomat[illumos-gate] 17975 clean up cp/mv/ln warnings -- Robert Mustacchi <rm⊙fo>
-
gitomat[illumos-gate] 17977 convert cp/mv/ln manuals to mdoc -- Robert Mustacchi <rm⊙fo>