summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-07-16Program PPB_REG_PREFLIM_HI32, not PPB_REG_PREFBASE_HI32 a second time. Oops.Miod Vallat
2009-07-16KNFMichael Knudsen
ok sthen
2009-07-16Clean up after X.Mark Kettenis
help & ok miod@
2009-07-16Make the PCI-PCI bridge initialization code bus-independent, relying on aMiod 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-16Cheat 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-15missing va_end in aml_seterror; ok marco@Martynas Venckus
2009-07-15In 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-15missing va_end in bios_printf & dioopen. ok miod@Martynas Venckus
2009-07-15Removes the magic bit from re_init() and moves the commonChristian Weisgerber
flag to the top. No change with the actual cplus mode register setting being used with the controllers. From brad@
2009-07-15Check db_recover for NULL before longjmp(db_recover) in db_error(), as it canMiod Vallat
be NULL on panic. Of course, panic usually never produce enough output to hit db_more(), except when it's cold and we run an automatic traceback; aborting the traceback with `q' would then lead to undefined behaviour.
2009-07-15Sync PCI scsi controllers; from Brad.Miod Vallat
2009-07-15print interrupt string like com at puc doesTheo de Raadt
2009-07-15regenMark Kettenis
2009-07-15Add VMware virtual PCIE bridge (and adjust the virtual PCI bridge define forMark Kettenis
consistency).
2009-07-14Silence ``invalid NVRAM header'' message if the NVRAM header is three zeroMiod Vallat
bytes (as encountered on sgi). ok krw@ deraadt@
2009-07-14Kill structs and ioctls that were never implemented.Mark Kettenis
ok oga@, miod@, deraadt@
2009-07-14don't give people any ideas. nfssvc(2) should not be usedThordur I. Bjornsson
by anyone besides nfsd(8). ok blambert@
2009-07-14Display driver for GTA01, (not freerunner).Dale Rahn
2009-07-14Unbreak moko, SOFTSERIAL->SOFTTTY, a pmap change, and a missing file.Dale Rahn
Not tested on hardware, but at least compiles now. problem pointed out by Sylvestre Gallon
2009-07-13Extend xbridge to support shared interrupt handlers, and perform PCI-PCIMiod Vallat
bridge initialization if necessary; enable ppb on IP27 and IP30 kernels. With feedback from kettenis@; macepcibr to gain the same functionality soon.
2009-07-13Add the neccessary glue to attach gem(4) to sbus(4) and enable gem(4) inMark Kettenis
GENERIC and SUN4M kernels. ok miod@
2009-07-13Add a somewhat minimal bus_dma(9) implementation. Only fully implemented forMark Kettenis
the sun4m iommu. Bits and pieces from NetBSD, with some additional tweaks and a bus_dmamap_load_mbuf() implementation from myself. ok miod@
2009-07-13Get rid of the token bucket filter.Michele Marchetto
Traffic shaping code should not be inside routing code. If you want to rate-limit use altq instead. ok claudio@ henning@ dlg@
2009-07-13Do the same rdomain checking in sppp as we do in the Ethernet case.Claudio Jeker
Encapsulated pppoe packets are moved into the rdomain of the physical interface because it is possible that a pppoe(4) interface is in a different rdomain then the physical interface. OK reyk@
2009-07-13Make the callers of nfs_request() responsible for freeing the reply mbuf,Thordur I. Bjornsson
if the reply is an error and retire the NFS_RETERR hack. For NFSv3 mounts the flag was set and reply mbuf not freed to allow the callers to handle the post-op attributes, or just free the mbuf for NFSv2. Tested by myself and jasper@ on various arch's. OK blambert@.
2009-07-13dont initialise ifp->if_snd.ifq_maxlen, and then follow it byDavid Gwynne
IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen). the first was deprecated by the use of IFQ_SET_MAXLEN.
2009-07-13make the send queue one slot long. this forces packets off the virtualDavid Gwynne
interfaces down to the queue on the physical interface immediately. this avoids having the tx mitigation code wasting cpu time dicking around with simply shuffling packets off virtual interface queues and lets it do its job of ammortising the cost of calling a real interfaces start routine. it also prevents an artificial inflation of the physical interfaces queue length where packets could hide on the virtual interfaces queues during softnet before being dumped en masse onto the hardware. this will smooth out the rate at which packets are submitted to the hardware. kjc@ says this has no impact on altq. ya henning@
2009-07-12Assert copyright.Joel Sing
suggested by and ok marco@
2009-07-12Fix rebuild percentage so that it ranges from 0-99% rather than 1-100%.Joel Sing
ok marco@
2009-07-12Don't attach when the PROM didn't give us an interrupt. Fix printed messagesMark Kettenis
in error paths while I'm there. Eliminate a fairly useless local variable as well. ok miod@
2009-07-12Add protection against multiple inclusion.Mark Kettenis
ok miod@
2009-07-12Enable gem@sbus.Mark Kettenis
2009-07-12In a error case in malo_init (e.g. can't load the firmware),Marcus Glocker
always call malo_stop which removes the previously registered interrupt handler from the cardbus interrupt handler chain. Otherwise, since malo_init gets called twice in a error case, our interrupt handler got registered twice and on the next device detach, just the last registered interrupt handler got removed, which leaves one left. That caused a kernel page fault trap as soon our "zombie" interrupt handler got called. Fix a typo while here.
2009-07-12Clean up debug droppings in sr_raid1_set_vol_state().Joel Sing
ok marco@
2009-07-12Enable hotspare rebuilds for softraid RAID1.Joel Sing
ok marco@
2009-07-12Add support for global hotspares to softraid.Joel Sing
ok marco@
2009-07-12Add some missing GEM_SBUS_CONFIG bits.Mark Kettenis
ok miod@, jsg@
2009-07-12If devices have roamed, complain once then update the metadata, just likeJoel Sing
we do for roaming volumes. ok marco@
2009-07-11When rebooting, pass a request to the PROM for it to skip diagnostics andMiod Vallat
memory initialization. This reduces memory test and initialization time from a "in soviet russia, memory test you" time of over 2 minutes for 1GB on Origin 200, to a more reasonable 12 seconds (and on a Fuel with 2GB, time goes down from 6 seconds to under a second).
2009-07-11Nuke an '__inline' that upset clang. Multi-line function should notKenneth R Westerback
be inline anyway. Found by jsg@. The last kernel file that clang complains about. ok marco@ jsg@
2009-07-11- Add some new feature flagsStuart Henderson
- Add defines for newer chipsets From FreeBSD via Brad. No functional change, needed for future work. ok naddy@.
2009-07-11Ensure that we hold the appropriate lock before callingJoel Sing
sr_ioctl_createraid(). ok marco@
2009-07-11timeout_add -> timeout_add_msecBret Lambert
Been running this on my laptop for a while now with no apparent ill effects. originally from a longer list from grange@ ok krw@ as part of that list
2009-07-10syncStuart Henderson
2009-07-10add a couple of NVIDIA MCP77 PCI-ISA bridges, from Brad.Stuart Henderson
2009-07-10RL_HWREV_8168DP can be either RTL8168DP or RTL8111DP, so print both,Stuart Henderson
as done for other RTL8168 HWREVs. From Brad.
2009-07-10Swap the hardware revision IDs for 8169S and 8110S. Agrees with theStuart Henderson
labelling on naddy@'s PCI cards. From Brad.
2009-07-10check 4 (instead of merely 2) addr bits for probing sdtemp(4) chips; ok deraadtConstantine A. Murenin
2009-07-10fix the complement in the 2's complement patch from yesterday; ok deraadtConstantine A. Murenin