summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-07-09Fixup AGP_MODE{GET,SET}_RATE() macros. the agp 2.0 spec defines that the lowestOwain Ainsworth
three bits are for the current agp rate. not the lowest two. Otherwise we preclude agp 4x mode. It's a bit different for agp 3.0, but we don't have the bits for that yet. Tested by several as part of a larger diff.
2008-07-09expand the net.inet.(tcp|udp).baddynamic dynamic source portDamien Miller
skipping bitmasks to cover the entire 65536 port space - previously they covered 512-1024 only. sysctl needs to be updated to cope with this change; please "make includes" before rebuilding it. feedback millert@ ok millert@ deraadt@ markus@
2008-07-09Remove an XXX comment about using the same pool for mfs and ffs, sinceThordur I. Bjornsson
mfs is using the ffs code and its the same object it would make no sense having two seperate pools... ok art@
2008-07-09Simplify the match function a bit by just returning the result fromBrad Smith
pci_matchbyid(). This is the only driver that will match against this hardware so it is not necessary to return a higher priority than what pci_matchbyid() returns. ok mbalmer@
2008-07-08this makes the code in sdattach less dense by collapsing the flags we passDavid Gwynne
to all the scsi midlayer code into a local variable. ok krw@ marco@
2008-07-08Remove the IDE_PCI_CLASS_OVERRIDE quirk flag for the Intel AHCI controllersBrad Smith
as they're of the subclass SATA and the SiI3512 SATA controller as it is of the subclass MISC. ok jsg@
2008-07-08vmt(4) is a kernel level implementation of the vmware tools.David Gwynne
it only provides the hosts machines clock as a timedelta sensor so far. getting it into the tree so people can work on it as suggested by fgsch@
2008-07-08Update 2300 firmware from 3.01.20 (Dec 19, 2002) to 3.03.19 (NovKenneth R Westerback
30, 2005). From mjacob via FreeBSD. No known code dependency, and prepares ground for major isp update. Tested on a 2312 by dlg@. ok dlg@ deraadt@
2008-07-07Comment correction, actually -> actualBrad Smith
ok henning@
2008-07-07Match on XMITS (which is a PCI-X Schizo variant found on Sun FireMark Kettenis
E2900/E4900/E6900/E20K/E25K systems). There's a fairly good chance it'll just work.
2008-07-07- Improve negotation and fix some more DPRINTFs.Marcus Glocker
2008-07-07The current drm_locked_task*() code sometimes tries to sleep in anOwain Ainsworth
interrupt handler. This is bad and wrong. So change it so that if we can't immediately grab the hardware lock, to just leave the task flagged so that we can run it when we release the lock. The linux implementation uses a similar scheme. Tested by guenther@, landry@ and bernd@. Also tested by many a while ago as part of a larger diff.
2008-07-07Extend sbbc(4) to provide a console driver for the v1280.Mark Kettenis
2008-07-07Fix typo in comment.Mark Kettenis
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@