summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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@
2006-06-12reset the reply pointer to NULL every time we get a context reply inDavid Gwynne
mpi_interrupt and mpi_completion. if we got an address reply followed by a context reply we used to pass that same reply to both completion routines.
2006-06-12Typos in comments.Marc Balmer
2006-06-12ANSIfy, and nuke newline at end of file.Gordon Willem Klok
ok toby@, "slap it in" deraadt@
2006-06-12Add stray interrupt reporting to the apicvec.s, fix the code for strayGordon Willem Klok
interrupt reporting in vector.s. Stray interrupts will only be reported if a kernel is compiled with option DEBUG, in the case of a non-ioapic kernel some stray interrupts may be erroneously reported durring the boot process. ok toby@, "get it in" deraadt@
2006-06-12white space fixesDavid Gwynne
2006-06-12Initial version of dv for scsi. Work based on dlg's code.Marco Peereboom
ok dlg
2006-06-11My spec says that bit 28 is reserved and that 29 is width parameter. Not theMarco Peereboom
other way around.
2006-06-11Working kernel crash dumps.Miod Vallat
2006-06-11Amiga is no longer amoung us. Some architectures were too sentimentalKenneth R Westerback
to cut all ties when it left for the attic. Eliminate (theoretical) ability to read Amiga disklabels on those architectures. mips64 compile tested by miod@ "whack away" deraadt@ "my amiga runs 3.2" niklas@
2006-06-11Ansify. No binary change on amd64 and i386, not yet built on sgi. ok miod@Matthieu Herrb
2006-06-11Clean the various cache and TLB invalidation function, arch by arch:Miod Vallat
- [DI]C{FL,PL,PP} and DCFA are only called on 680[46]0 systems and are identical on these platforms, so don't bother checking for the MMU type. - TBIAS is on 68060 codepath only. - DCIAS, PCIA and TBIA are specific to some platforms and do not need to be implemented everywhere.
2006-06-11Set up FPSP exception vectors on 68040 models in initvectors(), as done for theMiod Vallat
68060 SP, instead of in identifycpu().
2006-06-11Remove traces of cut'n'pasted 68060 support, since there aren't any 68060-basedMiod Vallat
macintoshes.
2006-06-11Protect a variable only used for the HP MMU if #ifdef M68K_MMU_HP blocks.Miod Vallat
2006-06-11Move common prototypes to <m68k/{cpu,param}.h> instead of incompleteMiod Vallat
declarations in <machine/{cpu,param}.h> and elsewhere.
2006-06-11Factorize spl handling functions and software interrupt routines betweenMiod Vallat
m68k-based platforms.
2006-06-11Move pmap_aliasmask declaration and initialization to MD code. No functionalMiod Vallat
change.
2006-06-11Use bracketed include paths.Miod Vallat
2006-06-11Zero the size of the correct partition. Missed in previous cleanup.Kenneth R Westerback
ok miod@
2006-06-11TypoMiod Vallat
2006-06-11Get rid of the wdt(4) char device. We have watchdog(4) andMichael Knudsen
watchdogd(4), so there's no point in supporting old, unused, non-generic interfaces. Tested by < jg , rilk - com>. The sensors available on the WDT501 model will be supported later using the sensors framework. ok mickey markus
2006-06-11show the number of DMA segments that were in the packet that just failedBrad Smith
to be mapped in stge_start().
2006-06-11Don't spew sense informaton from the test unit ready command issued byKenneth R Westerback
stopen(). This change was misplaced in the st roto-tilling at c2k6. Noticed by deraadt@.
2006-06-11the link state detection code should be checking for revision B2 insteadBrad Smith
of B1 to account for the differences with the revision defines used in OpenBSD's if_bgereg.h vs FreeBSD's.
2006-06-10Add functions to decode date and time strings that make sure no invalidMarc Balmer
information can be passed.
2006-06-10endiannessDamien Bergamini
2006-06-10- simplify allocation/free/reset of QoS Tx ringsDamien Bergamini
- move default MAC/BBP/RF settings from rt2661.c to rt2661reg.h
2006-06-10- fix checking of WEP flagsDamien Bergamini
- encrypt mgmt frames when they need to (shared authmode) - move default MAC/BBP/RF settings from rt2560.c to rt2560reg.h
2006-06-10- fix checking of WEP flagDamien Bergamini
- move default MAC/BBP/RF settings from if_ral.c to if_ralreg.h
2006-06-10shorten a name for bioctlTheo de Raadt
2006-06-10ANSIfy, KNF and remove a silly comment.Gordon Willem Klok
ok toby@, "absolutely" deraadt@
2006-06-10Make id in mpi_complete an unused value instead of random stack garbage.Marco Peereboom
This was causing the "empty portfacts" issue since the IOC wasn't complete yet with the request however since the id would match the requested id the timeout was a terminal condition.
2006-06-10ANSIfy, KNFGordon Willem Klok
ok toby@, deraadt@
2006-06-10allow SO_SNDBUF and SO_RECVBUF setsockopts on existing sockets to succeedBob Beck
for any value that is not an increase in size when we are under mbuf pressure, rather than only succeeding when setting the value to the 4k minimum. ok markus@, henning@
2006-06-10if we're not reading a page then we're writing a page. stupid braino fromDavid Gwynne
me pointed out by marco.
2006-06-10Redo debug prints to make it less loud and more granular.Marco Peereboom
ok dlg
2006-06-10Make uvn_sync_lock a rwlock, okay thib@ tedu@Pedro Martelletto
2006-06-10the rest of the spi-device configuration pagesDavid Gwynne
2006-06-10the rest of the spi-port configuration pages.David Gwynne
2006-06-10Add IIC attachment/probe. no IIC devices yet.Dale Rahn
2006-06-10bring PHYS address in sync with RAMDISK, matches the addresss redbootDale Rahn
wants. Note that redboot still wants to have a virtual load address between 0 and ramsize, so loading an unmodified kernel still doesn't work.
2006-06-10include i2c bits instead of dummying out i2c_bitbang.Dale Rahn
2006-06-10I2C support for 80321/80219Dale Rahn
2006-06-09fix up the comment.Brad Smith
2006-06-09{x,}ldcontrolb() codepath is SUN4-only, so don't bother checking for LfsbailMiod Vallat
in mem_access_fault4m.
2006-06-09Simplify ami_disk by chaging some ifs around.Marco Peereboom