summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-06-15put the multiple routing tables support back in, fixed.Henning Brauer
problem before: with this, we are no longer using the address family as array index directly, since only 3 of 31 address fanilies actually attach a table, but we're using an address family to array index translation (just another array). there, 0 meant "does not attach a table", thus rt_gettable has to return a null pointer. unfortunately we were using array index 0 for whatever af attaches first, and since the list is backwards,, that used to be ipsec - execpt on ipsec-less ramdisks, where it was inet6, and since route show blindly iterates over all address families, and all those without a table pointed to index 0, we got 28 or 29 copies of the v6 table. i had that right initally, and then i borked it later... re-spotted by claudio. ok norby hshoexer claudio
2006-06-15tighten this code upTheo de Raadt
2006-06-15make the clock error calculation match dev/ic/com.c so that things with,Jason Wright
say, a 10x clock work.
2006-06-15oxford 16pci954/siig 2050 has a 10x clock (why?!)Jason Wright
2006-06-15Make sys_adjfreq() compile on archs that use timecountersJonathan Gray
(ie sgi). Diff and request to commit from otto@
2006-06-15 Quell dmesg spewage from ch(4) - this diff moves much of theBob Beck
diagnostic type printf spew that is useful into #ifdef CHANGER_DEBUG, removes some that is pretty much useless, and changes one instance of using kernel printf to indicate the truncation of a result due to the provided buffer being too small into a return of EINVAL back to the caller. tested by me and mbalmer@ ok krw@ mbalmer@
2006-06-15Add proper masking of reserved bits, when we test if the thermalDimitry Andric
control MSR was written successfully. ok tedu@
2006-06-15nuke code that has been dead for so long that it stinks. claudio okHenning Brauer
2006-06-15Make number of varargs passed to ip_output match reality.Christopher Pascoe
henning@ claudio@ ok
2006-06-15Change cast of last vararg to ip_output to match what ip_output expects,Christopher Pascoe
for clarity. henning@ claudio@ ok
2006-06-15Make number of varargs passed to ip_output match reality.Christopher Pascoe
henning@ claudio@ ok
2006-06-15Add detection of RAID volume during PPR. Doesn't fan out the ppr to individualMarco Peereboom
devices yet.
2006-06-15Add IOC page 3 support. Needed for RAID and bio.Marco Peereboom
2006-06-15Print volume details in debug.Marco Peereboom
2006-06-15Remove header from structure since it doesnt need it.Marco Peereboom
2006-06-15And now without a buffer overflow. Pointed out by dlg. No cookie for me.Marco Peereboom
2006-06-15Add structures and initial code to retrieve IOC page 2. We need this forMarco Peereboom
RAID support and bio. "go at it" dlg
2006-06-15Print some useful error information during failure. We need this to be ableMarco Peereboom
to diagnose field issues. Talked through with dlg.
2006-06-15In p3_get_bus_clock() don't fall through if we have in fact correctlyGordon Willem Klok
matched a model. Found in a dmesg from Craig Barraclough craigba AT creative.com.au. ok deraadt@
2006-06-14teach it fintek f75375; half by drahnTheo de Raadt
2006-06-14- If the codec has support for a modem then print that there is noBrad Smith
modem support. - Print the name of the STAC9220 codec. From kent NetBSD ok jason@
2006-06-14move vfs_busy() to rwlocks and properly hide the locking api from vfsNikolay Sturm
ok tedu, pedro
2006-06-14regenOtto Moerbeek
2006-06-14Introducing adjfreq(2), to adjust the clock frequency.Otto Moerbeek
Loosely based on dragonfly code. ok deraadt@
2006-06-14Missed a part of the kvm86 commit, if option KVM86 is defined it would beGordon Willem Klok
a good idea to actually call the init function, this was lost it was part of the diff ok toby@, mickey@
2006-06-14* move mixer functions from azalia.c to azalia_codec.c, andBrad Smith
rename them like azalia_mixer_foo() to azalia_generic_mixer_foo() * enable codec-specific code to hook any mixer operations such as creating mixer items, or special handling for a specific item. * provide a custom mixer table specific to ALC260 * provide a custom mixer table specific to Fujitsu LOOX From kent NetBSD ok jason@
2006-06-14must use RTS/CTS protection when sending frames at OFDM rates in a BSSDamien Bergamini
with non-ERP STAs. some bits are missing in net80211 though, so this code won't be triggered yet.
2006-06-14reset the chip in pcn_shutdown().Brad Smith
From NetBSD
2006-06-14clear the IFF_UP interface flag before shutting down the interface.Brad Smith
ok damien@
2006-06-14Avoid potential deadlock during hash lookup; ok pedro@Patrick Latifi
2006-06-14Plug memory leak in error path; ok pedro@Patrick Latifi
2006-06-14Allow changes to a Name initialized with a 'static' value.Can Erkin Acar
Problem report (PR5149), and debugging by jj.roh at thurnherr dot ch ok marco@
2006-06-14remove redundant commented debug defineFelix Kronlage
2006-06-14oops, i forgot that you need to return a high number from match to win.David Gwynne
remove a useless define while there.
2006-06-14enable the NMEA 0183 line discipline in GENERIC. see nmea(4) for details.Marc Balmer
ok deraadt
2006-06-14no more infinite loops; tested by dlgTheo de Raadt
2006-06-14allow mpi to attach to parallel scsi controllers instead of mpt.David Gwynne
requested by deraadt@
2006-06-14support the iic busses on the ultrasparc III machines (something is stillTheo de Raadt
wrong, likely clocking); tested to not break older machines by dlg & djm
2006-06-13Do not compare apple with oranges when checking if the thermal controlMiod Vallat
register write was successful.
2006-06-13Next round of clean-up: Remove the ugly state machine and replace it withMarc Balmer
a simpler function that splits the nmea sentence into fields, verifies the checksum and eventually decodes the data (if it's a GPRMC sentence). Ignore Loran-C for the moment, no one has such a receiver. Loran-C can easily be added later if we have a receiver to test with.
2006-06-13kvm86, missed a file.Gordon Willem Klok
ok mickey@, toby@
2006-06-13Kernel virtual mode 8086, currently disabled in GENERIC.Gordon Willem Klok
lots of help at c2k6 and after from toby@, ok toby@, mickey@
2006-06-13we sometimes bundle chunks that the ioc will write to in the request spaceDavid Gwynne
as well as the request itself, so we need to sync the memory in both directions for dma.
2006-06-13rev 1.13 fixed the MTU ioctl handler to allow adjusting the MTUBrad Smith
but it seems Jumbo support is broken, so disable Jumbos for now. issue reported by jolan@
2006-06-13When adjusting the performance of the processor using p4tcc, the CPUsGordon Willem Klok
frequency remains unaltered. Remove the unecessary call to update_cpuspeed(), and add check the sucess of the operation, returing EIO in the event of failure. ok tedu@
2006-06-13Change the value returned if the CPU fails to honor a request toGordon Willem Klok
adjust frequency from 1 (EPERM) to EIO. Suggested by and ok tedu@
2006-06-12i stashed the dva and kva of each request space in its ccb, so why am iDavid Gwynne
recalculating them whenever i want to use them? shorten code a bit by using the stored values.
2006-06-12Oops, typoMiod Vallat
2006-06-12fix sgl loading. there were a few issues, the main ones being:David Gwynne
- when the sgl grew too large it became bigger than the maximum frame size that the ioc would deal with, and then it would just stop doing io. i was using the wrong field from iocfacts to figure out how large an sgl should be. - chained sgls were broken cos i was including the current chain element in the calculation of the offset to the next chain element. big ok from marco@
2006-06-12Some more improvements to EST:Dimitry Andric
- If an unknown EST CPU is encountered, use the known highest and lowest (and if different, the current) power state to generate a fake power state table on the fly. Thanks to canacar for the idea. - Calculate system bus clock speed before calling est_init(); it is needed to display proper MHz values from MSR values. - Also use the bus clock to identify EST CPU's, which is needed to differentiate e.g. Pentium M 715 and 760, which unfortunately have exactly the same MSR values. - Store power states directly as MSR values. Tested by many, "so when does it go in?" deraadt@