summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-07-07Add an entry to report the bus clock on bernd's atom laptop.Jonathan Gray
Intel don't publish the EST voltage tables, and they don't even publish the MSRs for a shipping processor so we can figure out how to do this in the backwards highest/lowest way cleanly. The mapping might look like the Core * one, but who really knows for sure outside of a few guys at Intel. Other machines with Atom processors and a different bus clock will have to be added one by one until this stupidity changes. Tested by bernd, ok gwk
2008-07-07Use bus_dmamap_load_mbuf() instead of bus_dmamap_load() whenThordur I. Bjornsson
we want too load an mbuf; remove a printf that fires in case we can't load the mbuf (We do error handling and recovery). ok brad@, dlg@
2008-07-07Shorten the sensor description and reserve room for optional charactersMarc Balmer
only when they are needed. Makes locations like -123d45m,-123d45m fit.
2008-07-07Add AGP and hostbridge support for the Intel 82945GME chipset.Bernd Ahlers
ok jsg@
2008-07-07syncBernd Ahlers
2008-07-07Add Intel 82945GME Hostbridge and Video.Bernd Ahlers
ok jsg@
2008-07-07tweak the alignment of the rx buffers so the headers in the frame areDavid Gwynne
better aligned for fast access. i didnt bench, so maybe this does nothing.
2008-07-06Add the position to the sensor description.Marc Balmer
discussed with otto, sthen, ckuethe. ok otto
2008-07-06remove #ifndef nolint gooThordur I. Bjornsson
ok blambert@
2008-07-06When the device gets close switch back from alternate interface toMarcus Glocker
default interface. Nice side effect; Turns off the cams LED again.
2008-07-06Zap redundant prototype for nfsrv_zapsock();Thordur I. Bjornsson
2008-07-06pciide_match() is a bit convoluted, we match anything claimingJonathan Gray
to be MASS_STORAGE subclass IDE regardless of id, and other ids depending on the subclass and a known id or a known id and the override flag. We really want to check the subclass so we don't attach pciide to the wrong function of a chip, which happened last time around before the additional subclasses were checked in the non override case and the overrides were pulled. A bunch of the override flags were pulled after some common subclasses (SATA/RAID) were added. So if we have a known id and a SATA/RAID subclass we would match. Turns out some Silicon Image SATA devices claim to be of subclass MISC so add that as well. Unbreaks one of hennings machines with 3114 SATA and likely quite a few other machines. 'seems safe enough to me' miod@
2008-07-06Use UT_{READ|WRITE}_VENDOR_DEVICE instead of self defined values.Marc Balmer
2008-07-06Enable ssm(4) and remove hacks that worked around the fact that we didn'tMark Kettenis
have it.
2008-07-06Add ssm(4), a driver for the scalable shared memory device found onMark Kettenis
Serengeti and Starcat systems.
2008-07-06Bump verson number now that the bootloader works on the v1280.Mark Kettenis
2008-07-06Add sbbc(4), a driver for the BootBus controller on Serengeti and StarCatMark Kettenis
systems that provides time of day services and (in the future) console services.
2008-07-06Add missing include such that RAMDISK kernels compile again.Mark Kettenis
2008-07-05Copy OBP breakpoint vector from the PROM trap table into our own trap table.Mark Kettenis
This makes the kernel properly enter the prom upon halt on the v1280.
2008-07-05Add function to read %tba.Mark Kettenis
2008-07-05Apparantly the "chain" OpenFirmware interface always fails so don't botherMark Kettenis
with it. Makes the bootloader work on the v1280 where the firmware breaks into the firmware debugger instead of returning failure.
2008-07-05Round up memory allocations to page size. Apparently sane firmware versions doMark Kettenis
this automatically, but the braindead firmware on the v1280 doesn't do this and makes the allocation fail.
2008-07-05Specify the correct number of arguments in prom call that sets the trap tableMark Kettenis
(1 for sun4u, 2 for sun4v).
2008-07-05Calculate the size of kernel text correctly if it spans multiple prom mappingMark Kettenis
entries. This is necessary on the v1280 where the firmware mixes 4MB and 8KB mappings to map kernel text. tested by miod@ and nick@
2008-07-05Link bootloader at 1MB (same a the Solaris bootloader) instead of 8MB (whichMark Kettenis
the firmware on the v1280 doesn't like). tested by many
2008-07-05The firmware on the v1280 changes %wstate behind our back. Work around thisMark Kettenis
problem by adopting the same encoding used by Solaris for the kernel windows. Note that this involves rearranging the trap vector tables, both fur sun4u and for sun4v.
2008-07-05Don't play games with %cleanwin when spinning up secondary CPUs. The firmwareMark Kettenis
on the v1280 doesn't like it if we change it behind its back.
2008-07-05When waking an nfs daemon, use wakeup_one vice wakeup, asBret Lambert
a) we're attempting to wake a specific process which b) sleeps on a unique address which means that there's no need to continue traversing the sleep queue once the process has been found and awakened. "looks good too me" thib@
2008-07-05regenMark Kettenis
2008-07-05Add Sun SBBC.Mark Kettenis
2008-07-05Remove R_GETONEREP and the code that checks if its setThordur I. Bjornsson
(its never set). "please kill it" blambert@
2008-07-05in pf_state_key_attach(), when there is already an existing state key thatDavid Krause
can be used and we return the state key back to the pool, don't insert state items into the tailq using that garbage state key. this makes things much happier for me. ok henning@
2008-07-05When SCSIDEBUG'ing, print data about to be written (for commandsKenneth R Westerback
flagged SCSI_DATA_OUT) and data that has been returned (for commands flagged SCSI_DATA_IN). This is better than just printing the data buffer before the command is issued since that does not include any data that has been read. e.g. INQUIRY data, as thib@ and I discovered. ok marco@
2008-07-05Fix a comment: Code defines FTDI_SIO_GET_STATUS, use that inMarc Balmer
comments, not FTDI_SIO_GET_MODEM_STATUS which is not defined anywhere. Also note that on newer devices like the FT232R the request is two bytes, not one.
2008-07-05bumb the bcachestats and the nchstats counters from longThordur I. Bjornsson
to u_int64_t's; add two new counters to nchstats that will be used in the future. ok art@, beck@
2008-07-05Clean up some old dead code, mostly nqnfs and kerberos leftoversThordur I. Bjornsson
for uid goo, mostly zapping unused members from various structures. ok blambert@
2008-07-05re-introduce vdrop() to signal a lost intrest in a vnode;Thordur I. Bjornsson
ok art@
2008-07-05use m_freem() instead of MFREE() since we ignore theThordur I. Bjornsson
mbuf that points to the rest of the chain (if it is a chain). ok blambert@
2008-07-05Add support for the new Expert mouseCLOCK USB II that uses an FTDIMarc Balmer
FT232R chip to interface the receiver (instead of the NetCologne chip used on older models). Only the DCF77 and HBG receivers are supported. A sidenote: Gude ADS not only provides me with receivers and documentation, but as a result of my feedback on their older receivers the new ones now have proper USB product IDs to distinguish between DCF77, HBG, and MSF.
2008-07-04Add T_MON_BREAKPOINT, the trap vector used by OBP for breakpoints.Mark Kettenis
2008-07-04Change trapbase from a pointer to a variable-length array such that it canMark Kettenis
actually be used to access trap vectors.
2008-07-04Add a little hack to recognize the boot device on the v1280.Mark Kettenis
2008-07-04Make debug code compile.Mark Kettenis
2008-07-04Add support for ssm nodes as found on the v1280 and bigger machines. For now,Mark Kettenis
we pretend that ssm is mainbus. Perhaps I'l turn it into a real bus driver later.
2008-07-04Remove unused NQNFS #defineBret Lambert
ok thib@
2008-07-04regenYojiro Uo
ok jsg@
2008-07-04add new entries for 3G/3.5G modemsYojiro Uo
2008-07-04in pf_state_key_attach(), when we find that there already is a state keyHenning Brauer
that we can attach the state to, make sure to not overwrite the state key pointer in the state that was just set to the existing state key with the state key that was supplied with the state and just free'd (well, pool_put'd). by the time we clean up the state and try to follow it to RB_REMOVE etc we'd follow that garbage pointer to either an unrelated state key or the old state key still sitting unused in the pool. should fix the RB_REMOVE panics some people have been seeing. "clearly ok, please commit" ryan
2008-07-04remove prototype for nonexistant functionHenning Brauer
2008-07-03Add the pci id and driver flags flags parts for the previous two updatesOwain Ainsworth
(radeon and intel) tested by a few (as part of the updates)