summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-04-26enable splassert (1) by default; requested and ok manyTheo de Raadt
2007-04-26add a comment that NetXen provided hardware and documentation to makeReyk Floeter
this driver possible.
2007-04-26ack the power switch interrupt even if machdep.kbdreset is not setMartin Reindl
from Matthew R. Dempsky
2007-04-26Do not allow userland to change cop0 SR via ptrace; from NetBSD.Miod Vallat
2007-04-26Be more careful when changing cop0 SR value; or flags in instead of settingMiod Vallat
the SR value to them, and correctly propagate the SR to userland via proper proc0 initialization and cpu_fork() care.
2007-04-26Do not invoke arcbios routines from the moment our page tables are set up,Miod Vallat
to the moment we reboot, for we do not know what it can do behind our back; this means the built-in ethernet address has to be read from the arcbios environment earlier.
2007-04-26USB device lists do not need a terminating sentinel, so don't provide any;Miod Vallat
this should prevent phantom devices from attaching axe or uberry on some machines. ok deraadt@
2007-04-26Improve debug statements. No binary change without AMI_DEBUG.Alexander Bluhm
ok marco
2007-04-26Switch i386 pmap to VM_PAGE_MD. We store the MOD/REF flags inArtur Grabowski
pg_flags, so we actually shave quite a few bytes from the memory we eat at boot. (a machine with 1GB memory saves 256k). deraadt@, pedro@, krw@ ok. Lots of testing.
2007-04-26Use the standard DISKPART/DISKUNIT/etc. defines rather than identicalKenneth R Westerback
but differently named SD/CD ones. No change to .o files. ok deraadt@ dlg@
2007-04-26extend the trunk protocol API with some additional callbacks requiredReyk Floeter
for future work. also move the repeated tx start code into a common function. parts of it are merged from FreeBSD's trunk(4) port. oh, wait... they renamed it to 'lagg(4)' because a little green guy from Cizzco-Eeeh told them "trunk is for VLANs, trunk is for VLANs". Bad FreeBSD, don't listen to the little green guy from Cizzco-Eeeh! ok claudio@
2007-04-26syncMichael Knudsen
2007-04-26Add a bunch of nvidia pci ids from The Linux PCI ID Repository inspiredMichael Knudsen
by a dmesg on misc. From brad, ok mk.
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-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-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-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-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-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-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-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-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-24Firmware lies! Switching from LEVEL to EDGE triggered interrupt preventsGordon Willem Klok
storms. ok kettenis
2007-04-24apic_address should be 32 bits, rather than paddr_t; prepares us forTom Cosgrove
paddr_t changing from 32 bits. From mickey's original PAE work of a year ago Tested by myself and nick@; ok art@