Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-07-22 | Make sure the irq numbers for the O2 event counters match the interrupt lines | Miod Vallat | |
reported in dmesg. While there, silence the spurious interrupt warning logic if, at the time it is triggered, there are really no hardware interrupts pending; this can happen if serial interrupts gets processed e.g. at splx() before the hardware interrupt routine has a change to run. | |||
2009-07-22 | Define BUS_SPACE_MAP_CACHEABLE. | Miod Vallat | |
2009-07-22 | correctly list which files this license applies to | Theo de Raadt | |
2009-07-22 | Instead of calculating a number of seconds to sleep, tsleep()ing on | Bret Lambert | |
lbolt and waking up every second and checking to see if the correct number of seconds has passed, just calculate the timeout once and pass that to tsleep(). ok thib@ | |||
2009-07-22 | remove a comment thats part lie and part stating the obvious. | Thordur I. Bjornsson | |
ok blambert@ | |||
2009-07-22 | Comment diff only; list an additional supported PHY and add a link | Stuart Henderson | |
to the datasheet. From Brad. | |||
2009-07-21 | Make pmap_enter respect the PMAP_CANFAIL flag. With and essential | Mark Kettenis | |
memory leak plug from drahn@ | |||
2009-07-21 | PCI-Cardbus bridge support for both O2 (macepcibr) and Octane/Origin (xbridge) | Miod Vallat | |
class systems. Tested on O2 and Origin 200 with wi@pcmcia and xl@cardbus, using a Ricoh 5C475-based cbb(4) board. acx@cardbus doesn't work reliably yet, so your mileage may vary until more bugs are fixed. Thanks to matthieu@ for lending me some cardbus devices for testing. | |||
2009-07-21 | Make rbus_new_body() invocable from outside cardbus.c, to allow md code | Miod Vallat | |
to use it to allocate a ``every operation will fail'' rbus in case of error. | |||
2009-07-21 | Change the rbus md_space_{map,unmap} signature to take a rbus_tag_t instead | Miod Vallat | |
of the bus_space_tag_t it contains; an upcoming implementation will need to know the rbus_tag_t for which it works at this point. All callers updated accordingly; no functional change intended. | |||
2009-07-21 | Use the symbolic constants for the window registers in pci configuration | Miod Vallat | |
space in pccbb_winset(), instead of their bare values. Saves time for grep users. While there, a few grammar and typo fixes in comments. | |||
2009-07-21 | Rewrite ioctl parts and rx filter handling. From Brad, tested by | Stuart Henderson | |
myself and jasper@. | |||
2009-07-21 | pf_scrub_ip/ip6 prototypes are already in pfvar.h | Henning Brauer | |
2009-07-21 | Handle the case where so_pcb is NULL. | Todd C. Miller | |
2009-07-21 | Add a family flag for the original 5700 series chipsets. Idea from FreeBSD. | Christian Weisgerber | |
But also use the flag where it makes sense. From Brad; ok sthen@ | |||
2009-07-21 | Call timeout_set() from rl_attach, not rl_init(). From Brad. | Stuart Henderson | |
2009-07-20 | Pass a pci_chipset_tag_t to pci_intr_line(), to eventually allow the | Miod Vallat | |
logic to be chipset dependent; no functional change yet. ok kettenis@ | |||
2009-07-20 | (struct foo *)0 -> NULL, every where I could find it. | Thordur I. Bjornsson | |
OK blambert@ | |||
2009-07-20 | For memory that gets allocated for every NFS request, pools make more | Bret Lambert | |
sense than malloc. ok thib@, who says the puffin still gets it either way | |||
2009-07-20 | KNF fixes | Jordan Hargrave | |
2009-07-19 | Simplify code that sanitizes pci resources on the O2's mace PCI bridge. | Mark Kettenis | |
The firmware messes up I/O BARs, so whack those back to 0, such that the MI PCI code initializes on an as-needed basis. ok miod@ | |||
2009-07-19 | Hook up "text" (executable) output and implement for fuser too. | Todd C. Miller | |
Man page bits adapted from FreeBSD. OK miod@ | |||
2009-07-19 | Include 0x4402 in the bbp id mapping table used on older | Jonathan Gray | |
devices. http://bcm-specs.sipsolutions.net/BackPlane agrees. | |||
2009-07-19 | clalloc() can't fail, so there's no need to handle failure cases. | Bret Lambert | |
Change to void function. Also, no need to have global tty stats pointer, so just return it from clalloc, as the caller frees it immediately anyway. ok miod@ | |||
2009-07-18 | if -> in, and the sentance makes more sense. | Thordur I. Bjornsson | |
2009-07-18 | Reconfigure all onboard devices, ignoring the existing mappings set up by | Miod Vallat | |
ARCS, except for IOC3 devices (which might be our console). This allows us to build resource accounting extents to pass the MI code (for more magic). | |||
2009-07-18 | Don't forget to read the high bits I/O range register when registering | Miod Vallat | |
ppb resources in the parent extent. ok kettenis@ | |||
2009-07-18 | Remove redundant code for setting the maximum frame receive size | Stuart Henderson | |
and fix the appropriate code in gem_init_regs(). From Brad, tested by Brad (sparc64), todd@ (macppc). | |||
2009-07-18 | Fixes for the NFSERR_RETERR commit. | Thordur I. Bjornsson | |
- Make sure to set the mbuf pointers and the dpos pointer correctly in nfs_request() before returning an error. - Fix potential mbufs leaks in nfs_{read,write}rpc for v2. The reply mbuf was not being freed before the jump to nfsmout. - Reorder error handling to prevent an error case being treated as a non-error case. Fixes issues noticed by sthen@ and ajacoutot@. Tested by both of them. Reviewd by oga@ OK blambert@ | |||
2009-07-18 | reorder a switch block, no functional change but reduces the diff | Stuart Henderson | |
with FreeBSD. From Brad. | |||
2009-07-18 | Simplify receive filter handling, from Brad. | Stuart Henderson | |
Tested by Brad on sparc64, todd@ on macppc. | |||
2009-07-18 | Rewrite the ioctl handling code and the receive filter | Stuart Henderson | |
handling to clean up the code and eliminate unnecessary resets. From Brad, promisc tested by Olivier Cherrier, promisc/multicast by me. | |||
2009-07-18 | While detatching the device, workaround the case when a midi | Alexandre Ratchov | |
entry is missing in cdevsw[], in which case vdevgone() is called with out of bounds argument. requested by dlg@ | |||
2009-07-18 | #include stdio.h for printf here also. | Jonathan Gray | |
2009-07-18 | #include stdio.h for printf. | Jonathan Gray | |
2009-07-17 | Cleaned up parsing of While loops; iterative If statement | Jordan Hargrave | |
ok marco@ | |||
2009-07-17 | Proper bus_space_{read,write}_raw_[248] functions for xbridge, makes wi@pci | Miod Vallat | |
work on systems with xbridge. | |||
2009-07-17 | Update bus_dma to the better codebase found on almost all other platforms, | Miod Vallat | |
where the common part to all bus_dmamap_load*() functions is implemented in in an internal load_buffer routine. This allows the xbridge-specific dma code to only provide this function, instead of three; and this also brings us a working bus_dmamap_load_uio() on all supported sgi machines, which in turns make crpyto(4) devices really work. Tested with hifn(4). | |||
2009-07-17 | Initialize a variable that was previously using a mystery value in | Bret Lambert | |
some error cases ok thib@ | |||
2009-07-17 | Revert a not-thoroughly tested change part of a larger work in progress diff, | Miod Vallat | |
which crept in the previous commit. | |||
2009-07-16 | Backout rev1.79 of if_vlan.c and rev1.66 of if_trunk.c; | Thordur I. Bjornsson | |
Changes in those revision limited the send queue to one slot. This breaks NFS over vlan(4) has discovered by sthen@. "just plain back it out." deraadt@ | |||
2009-07-16 | Program PPB_REG_PREFLIM_HI32, not PPB_REG_PREFBASE_HI32 a second time. Oops. | Miod Vallat | |
2009-07-16 | KNF | Michael Knudsen | |
ok sthen | |||
2009-07-16 | Clean up after X. | Mark Kettenis | |
help & ok miod@ | |||
2009-07-16 | Make the PCI-PCI bridge initialization code bus-independent, relying on a | Miod Vallat | |
per-pci_chipset_t function to perform actual resource allocation. Add the necessary bits to macepcibr(4), and enable ppb(4) on O2 kernels now. Joint effort with kettenis@ | |||
2009-07-16 | Cheat in pci_conf_read() and force the REXTVALID bit in the O2 onboard ahc(4) | Miod Vallat | |
configuration register; this allows the driver to select ultra speed, which this particular hardware supports. From Linux, ok kettenis@ | |||
2009-07-16 | - Add missing tick handler calling mii_tick(). | Stuart Henderson | |
- Stop hmestop() from fiddling with the flags directly and calls mii_down() instead. From Brad, tested by nick@. | |||
2009-07-15 | missing va_end in aml_seterror; ok marco@ | Martynas Venckus | |
2009-07-15 | In sdmmc_intr_establish(), don't duplicate the `name' parameter. | Michael Knudsen | |
Instead, just use the pointer, and don't free the pointer during sdmmc_intr_disestablish(). ok miod. | |||
2009-07-15 | missing va_end in bios_printf & dioopen. ok miod@ | Martynas Venckus | |