summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-12-10another go at cleaning up bus_dma usage.David Gwynne
when you're using the bus dma api like we are, there are two bus_dma_segment_t's involved, one for the pa stuff and one for the dva stuff. we set this up ok in ami_allocmem, but then we forget half of it when we return from that function. even worse, we assume theyre the same thing in ami_freemem. this diff fixes that by wrapping all the dma bits into a struct (called struct ami_mem) and providing a few macros for accessing the useful parts of it. we just pass this struct around now instead of having to handle all the busdma bits in every function. ok marco@ jason@ krw@
2005-12-10{en,re}trys -> {en,re}tries; eyeballed by jmc@Miod Vallat
2005-12-10regenJonathan Gray
2005-12-10Add a few more NVIDIA Ethernet ids.Jonathan Gray
2005-12-10Fix a crash when enum bitfields are encountered. Reported by marc onChad Loder
sparc but we really should see the crash on any arch. Lots of places in the code assume that if tspec == ENUM that they can touch t_enum, so when we see an ENUM bitfield, we coerce the type to INT or UINT. We also clear the t_isenum flag and the t_proto flag any time we invalidate the data in the union. We should be stricter about checking t_isenum everywhere, but that is a bigger job.
2005-12-10ANSI functions.Brad Smith
From Andrey Matveev <evol at online dot ptt dot ru>
2005-12-10remove a bit of unused code.Brad Smith
Pointed out by Andrey Matveev <evol at online dot ptt dot ru> through noticing a missing splx which pointed out the fact that code is unused to me.
2005-12-10, after end of last enum entry is bogusTheo de Raadt
2005-12-10Lint doesn't like trailing commas in enums.Kenneth R Westerback
2005-12-10Kill MCA related includes.Kenneth R Westerback
ok deraadt@
2005-12-10because lint says so; ok espieTheo de Raadt
2005-12-10in ansi c, bitfields must be done against int, unsigned int, or _Bool.Theo de Raadt
so we must start to use u_int; ok cloder
2005-12-10in ansi c, bitfields must be done against int, unsigned int, or _Bool.Theo de Raadt
so we must start to use u_int; ok cloder
2005-12-09Mine, so modernize licenseBob Beck
2005-12-09calling do_death() after err makes us exit is not smart, and is inBob Beck
fact unnecessary, my usage of err() here also repeated the formatted error message twice. - We don't need do_death() here, and fix err to print the message a bit more sanely. Noticed by Andrey Matveev <evol@online.ptt.ru> - Thanks
2005-12-09Add support for cpu voltage slewing.Mark Kettenis
2005-12-09Add hook for voltage slewing the G5.Mark Kettenis
"figure you should just commit" drahn@
2005-12-09remove unused function bge_shutdown().Brad Smith
2005-12-09some cleaning and fixing of comments.Brad Smith
2005-12-09add some missing boot_ pages;Jason McIntyre
2005-12-09adjust .Nd too;Jason McIntyre
2005-12-09this page is called `boot_hppa64', not `boot_hppa';Jason McIntyre
2005-12-09Unkown attributes need to be optional, if not issue a "unknown wellknownClaudio Jeker
attribute" error. While this check is already present in the error handling function it is not done while parsing. Found via regress, OK henning@
2005-12-09license cleanIan Darwin
2005-12-09Drop clause 3/4 as per i386 version.Jonathan Gray
ok aaron@ (Copyright holder).
2005-12-09ansi and deregister. No binary change.Jonathan Gray
2005-12-09back out 1.97. it was causing a freeze on boot with an older card. problemDavid Gwynne
found and cause narrowed down by jrrs. it looks like we're trying to submit a command during attach to be completed by polling. however it must be generating an interrupt for the command, which completes out of the interrupt handler behind the scenes of our polling. we just seem to sit there forever as a consequence. this is a bandaid over a real fix, but it'll do until i can talk marco into fixing it properly.
2005-12-09don't complain too often about 'redefinition of revision number',Joris Vink
specially when rev is actually NULL.
2005-12-09if we are removing a lock that's not present, just checkJoris Vink
out the file without complaining;
2005-12-09Don't disestablish a NULL interrupt handle after an incomplete attachment.Uwe Stuehler
ok fgsch@ brad@
2005-12-09Add support for Linksys HU200-TS, id found in Linux RT2570 driver.Jonathan Gray
2005-12-09regenJonathan Gray
2005-12-09Linksys HU200-TS.Jonathan Gray
2005-12-09Mention which chipset devices use on attach.Jonathan Gray
2005-12-09Add regression test for assignment in conditional contextChad Loder
2005-12-09Do not warn about assignment in conditional context if the assignmentChad Loder
expression is itself wrapped in parentheses. We use this idiom in our tree to indicate that the programmer knows and accepts that an assignment is happening. Idea suggested by deraadt
2005-12-09unused vars, my bad;Joris Vink
2005-12-09/* fall thru... */ -> /* FALLTHROUGH */Jonathan Gray
2005-12-09Remove surplus semicolon.Jonathan Gray
2005-12-09Reverse order of diff so that output makes more sense. kjell said heChad Loder
would commit this but he is too much of a slacker.
2005-12-09Test how lint deals with warning for signed/unsigned char conversionsChad Loder
involving character literals (as opposed to literals of other integral types).
2005-12-09Another case theo reminded me ofChad Loder
2005-12-09Don't ever complain when assigning a char literal to a char lvalue,Chad Loder
regardless of sign/unsign differences. In other words, even though C treats char literals as ints, if the rvalue is a literal inside single quotes, and the lvalue is any kind of char, then assume the programmer knows what he is doing.
2005-12-09Added aml_values for nodesJordan Hargrave
Started adding code for aml interpreter
2005-12-09Added aml_value and aml_node types for treeJordan Hargrave
Added flag macros for methods/fields ok marco@
2005-12-09disable ipmi in GENERIC until such times as it works everywhereBob Beck
2005-12-08Remove unused pcbb define.Miod Vallat
2005-12-08- remove unnecessary return at end of void functionBrad Smith
- remove unnecessary cast to void for splx From Andrey Matveev <evol at online dot ptt dot ru>
2005-12-08make authpf give up group privs before exec'ing pfctl - makes itBob Beck
so the new taint enforcement for /dev/fd/X opens don't kill it
2005-12-08Check fread() return value to get sane error message for too-smallTodd C. Miller
gmon header. Idea from Alexey Dobriyan