summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-04-26Copy sendbug's editit() to disklabel.Ray Lai
OK krw@.
2007-04-26syncTheo de Raadt
2007-04-26Add a setperf mechanism for ich speedstep controlled by SMI on certainGordon Willem Klok
parings of the Intel Pentium 3 and the ich southbridges. Written by Stefan Sperling <stsp AT tsp DOT in-berlin DOT de> based on a driver in NetBSD and sys/arch/i386/pci/ichpcib.c. Tested my mpf@ among others, ok tedu
2007-04-26Some cleanup, ansify remaining K&R functions, neatly summarize theGordon Willem Klok
available ports e.g. puc0 at pci1 dev 7 function 0 "Moxa C168H" rev 0x02: com, com, com, com, com, com, com, com vs puc0 at pci1 dev 7 function 0 "Moxa C168H" rev 0x02: ports: 8 com and panicing is an extreme behaviour if we dont know the name of a port simply print a message informing of the unknown port and dont attempt to attach it. ok deraadt
2007-04-26enable tht so it is more available for testing.David Gwynne
2007-04-25grow ramdisk mr.fs size, it is neededTheo de Raadt
2007-04-25- add ability to specify a tone to be played (defaults to 440hz)Jason Wright
- stop using atoi ... use strtod/strtol - fixing timing stuff for alaw/8
2007-04-25Add suport for printing debug information like coordinates if UTS_DEBUGRobert Nagy
is defined and make sure that we are calling wsmouse_input every time the screen gets touched on different types of touchscreens. Some minor cleanups while here.
2007-04-25shutdown existing carp interfaces based on ifconfig output, not staticMarc Espie
/etc/*.if files. okay reyk@, deraadt@, krw@...
2007-04-25hook the rx path up.David Gwynne
despite having written it without being able to test, there was only one real bug. i wasnt keeping track of the mbuf in the rx init path, so when the completion tried to use it, it was dereferencing random memory.
2007-04-25add some dprintfs to the fifo handlers.David Gwynne
enabling these makes tx completions occur. i wish i could figure out why.
2007-04-25when populating the rxf fifo, actually sync the rxf fifo at the start andDavid Gwynne
end of it, not txf. still doesnt fix my bug
2007-04-25Use 'ifconfig' and not 'ifconfig -a' as the -a is now the default.Kenneth R Westerback
2007-04-25Add capacity to specify one ntp 'server' (not 'servers') during install.Kenneth R Westerback
Suggested by deraadt@, nifty sed nit from ray@. ok deraadt@ beck@ mbalmer@
2007-04-25we only have to mask interrupts once when we bring the interface downDavid Gwynne
2007-04-25i got a reg init wrong, still no tx completion though.David Gwynne
2007-04-25enable tx completion interrupts and provide handling for them.David Gwynne
unfortunately theres a bug somehwere. i had this working 6 hours ago, but after scrubbing that diff it no longer completes packets. so annoying.
2007-04-25fix a dprintf in the debug pathDavid Gwynne
2007-04-25more register init in tht_upDavid Gwynne
2007-04-25Yet another case that forgot to set the time.Artur Grabowski
pointed out by and ok miod@
2007-04-25Set the time even when the clock chip is bad.Artur Grabowski
miod@ ok
2007-04-25put a two second timeout on the chip init after the firmware is loadedDavid Gwynne
2007-04-25the non existent -W option is removed from the usage()Igor Sobrado
ok by jmc@
2007-04-25shift some bits like the spec says i should.David Gwynne
2007-04-25format string fixDavid Gwynne
2007-04-25add some debug to the tx paths so i can see packets go on and off the hw.David Gwynne
2007-04-25fix the conditions that the tx free path keeps looping on so that it willDavid Gwynne
process all available descriptors, instead of leaving one behind.
2007-04-25configure the 10G mac and enable (more) interrupts when the interface isDavid Gwynne
brought up. mask them again when the interface goes down.
2007-04-25split tht_fifo_ready into tht_fifo_writable and tht_fifo_readable. the wayDavid Gwynne
you determine usable space in the fifo is different between read and write fifos, not half different like i thought it was.
2007-04-25Copy signal-safe edit function from sendbug.Ray Lai
OK millert@, threatened by deraadt@.
2007-04-25start implementing interrupt handling.David Gwynne
the firmware generates an interrupt when it detects a link state change, so we dont have to poll for it like other nics do. this sets it up so the interrupt is handled even if the nic is down at the time. you can plug and unplug the cable now and see pretty dmesg output.
2007-04-25Remove extra code that only applies to setuid/setgid programs.Ray Lai
``Slacker! We'll burn your hands if you don't get going!'' deraadt@
2007-04-25add more register definitions, in particular the interrupt ones.David Gwynne
2007-04-25im an idiot. for (;;) { } while (condition); loops forever, no matter whatDavid Gwynne
the condition is.
2007-04-25add some debug goo to be used soonDavid Gwynne
2007-04-25Same change as i386, use the number of states to calculate performanceGordon Willem Klok
levels. ok canacar
2007-04-24Pass a real dev_t to readdisklabel(), not a unit number with lipstick.Kenneth R Westerback
Suggestions from miod@, KNF nit from mk@ ok miod@ millert@
2007-04-24missing "macppc" from the .Dt line;Jason McIntyre
2007-04-24Tell init(8) to power down machine instead of just halting it.Mark Kettenis
ok deraadt@
2007-04-24Dont log() send failures in nfs_send(), they arent helpful since we retryThordur I. Bjornsson
and recover for the client case (or terminate with EINTR if to many retries), and in the server case, if we cant send due to f.x network troubles its up to the client to retry not the server. (server not responding messages are logged in another place though). discussed with deraadt@
2007-04-24do not printf+panic, when a longer panic message is easier; kettenis okTheo de Raadt
2007-04-24Make power(4) map registers in io space if mem space fails.Mark Kettenis
Tested on u5, u10, blade100 and v210. ok deraadt@
2007-04-24syncTheo de Raadt
2007-04-24Choose the state for a request performance level based on calculationsGordon Willem Klok
involving the number of states and not the frequencies of the states, which can lead to strange distributions of the states over the hw.setperf range (0-100). Tested by many. ok canacar, tedu
2007-04-24It's never too late to write "too late" correctly.Miod Vallat
2007-04-24exeption -> exceptionMiod Vallat
2007-04-24BUGS have been resolved.Gordon Willem Klok
2007-04-24Firmware lies! Switching from LEVEL to EDGE triggered interrupt preventsGordon Willem Klok
storms. ok kettenis
2007-04-24replace D, D1 and D2 by date, date1 and date2 respectively;Igor Sobrado
date1<date2 implies date2>date1, not date2<date1 ok by jmc@, niallo@ and xsa@
2007-04-24Try to document the new 4-byte AS numbers without being to invasive.Claudio Jeker
"people will complain if it's unclear" jmc@