summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2005-08-07Remove advertising clause from UCB licenses; ok deraad@Miod Vallat
2005-08-07malloc svr4_utsname struct as needed instead of on stack; ok millertTheo de Raadt
2005-08-06overhaul the grf driver:Martin Reindl
- Simplify grfmv_phys() to work like grfiv_phys(), and eliminate the second argument to both, as we don't use it anyway. - Handle fbbase and fboff consistently throughout. - Eliminate grfaddr() by pulling it into grfmmap(), which is the only place it was used, previously. - grfmap() now gets the physical address of the framebuffer from the appropriate driver, rather than try to compute it by itself. Be careful with aligning the base to a page address and increase the length of the mapped region appropriately. - Store the PA of the framebuffer in the softc. This eliminates the need for the sc_phys callback; we can just store the PA in the grfbus attach args, rather than a function pointer, which simplifies the code nicely. - Disable Valkyrie interrupts on the Quadra 630 - New and improved console framebuffer initialization and autoconfig. This resolves a great many issues, including Performa 58x interrupt handling and offset displays on some models. - Remove unused grf ioctls - Some KNF and other minor things help and ok miod@ from NetBSD
2005-08-06while checking for an aux port, if we timeout waiting for our testjoshua stein
data to echo back, send KBC_AUXWRITE and send the test again required to find the aux port on the oqo model 01 ok mickey@ and miod@
2005-08-06Remove 16 bit mode_t leftover in syscall processing.Miod Vallat
ok deraadt@
2005-08-06We do not need a char machine_arch[] constant.Miod Vallat
ok deraadt@
2005-08-06Model 360 does not have a PAC.Miod Vallat
2005-08-06correct some spellosChristopher Pascoe
2005-08-06If a process has trashed its stack, use sigexit() instead of psignal() toMiod Vallat
terminate it with prejudice, as done in native sendsig(). Plus you get a memory leak in COMPAT_HPUX on m68k fixed for free. review art@ test martin@
2005-08-06In cache_flush(), after testing for curproc != NULL, do not use curprocMiod Vallat
blindly...
2005-08-06Improved X40 kludge, tested by djm@.Jonathan Gray
Any X40 users still having problems after this mail me.
2005-08-05correct io base/limit registers handling. from mycroft. only affectsFederico G. Schwindt
multi function cards for now. this fixes the Novatel Wireless Merlin UMTS Modem reported by Bolke de Bruin <bdbruin at aub dot nl> tested by several ppl, commit deraadt@.
2005-08-05Add one more Compaq Smart Array 6i.Marco Pfatschbacher
Found in an HP DL380 G4 and works nicely. OK mickey@
2005-08-05regen.Marco Pfatschbacher
2005-08-05Add one more Compaq Smart Array 6i.Marco Pfatschbacher
OK mickey@
2005-08-05fix cac commentMichael Shalayeff
2005-08-05- missing m_free()Martin Reindl
- drop unused define from NetBSD
2005-08-05don't panic for SADB_ADD w/o enc/auth, with and ok hshoexer@Markus Friedl
2005-08-05Correct URL. Noticed by Dries Schellekens <gwyllion at ulyssis.org>.Jonathan Gray
2005-08-05make three functions non-static (namespace is no issue, they might getDaniel Hartmeier
inlined), ok art@
2005-08-05X40 has to be prodded a bit more to work.Jonathan Gray
tested by jolan@
2005-08-05Add support for SCSI pass-through commands for enclosure and processor devicesMarco Peereboom
to expose ses(4) and safte(4) information. ok beck@, dlg@ put your ami pt diff in, deraadt@
2005-08-05Uncomment aps to help gather more testing feedback.Jonathan Gray
I'd like to hear from anyone running with this.
2005-08-05Add commented entry for aps (ThinkPad Active Protection System)Jonathan Gray
2005-08-05Start of a driver for the "Active Protection System" accelerometerJonathan Gray
found in recentish ThinkPads. Sensors are reported via hw.sensors in sysctl but sensor numbers and presence is likely to change. Units and use of all of the sensors is not yet known as IBM has not released any documentation. Driver is based on information reverse engineered from the windows driver by Anurag Sharma and Mark Smith. "commit the code" deraadt@
2005-08-05typoTheo de Raadt
2005-08-05report the fan speed as a percentage since it seems all the enclosures weDavid Gwynne
fill in the rpm fields. your call deraadt@
2005-08-05add a sensor type that can report percentageDavid Gwynne
ok deraadt@
2005-08-05dont do an inquiry in attach just to print the safte revision number. itDavid Gwynne
is window dressing. zap it deraadt@
2005-08-05switch safte from using a scsi cmd at softclock to doing the commandsDavid Gwynne
in a kernel thread. very similair to the same change in ses.c. ok marco@ beck@ deraadt@
2005-08-05reorder the allocation of bits in attach to make cleaning up on an errorDavid Gwynne
shorter and less prone to mistakes ok marco@
2005-08-05READ BUFFER is a generic opcode, so dont define our ownDavid Gwynne
2005-08-05a define for the scsi READ BUFFER opcodeDavid Gwynne
for and ok marco@
2005-08-05shorten dmesg outputTheo de Raadt
2005-08-05scsi_safte.c and scsi_safte.h are now known as safte.c and safte.hDavid Gwynne
respectively ok krw@ deraadt@ marco@
2005-08-05make the naming of the safte files consisten with the rest of the scsiDavid Gwynne
drivers ok krw@ deraadt@ marco@
2005-08-04allow dcphy_status() to be called even when the parent interfaceBrad Smith
is in the down state. on some dc's with dcphy this will now allow the card to show carrier state and some link speed though not necessarily full-duplex for some reason. something to look into still.
2005-08-04instead of static locals, malloc/free. the goal is to reduce stack usage,Daniel Hartmeier
but statics are dangerous in case of concurrency. ok deraadt@
2005-08-04fix worst three kernel stack pigs in xfs by moving stack allocation ofBob Beck
xfs message structures to malloc M_TEMP. ok art@
2005-08-04this file is now known as ses.hDavid Gwynne
ok krw@ marco@ beck@
2005-08-04the generic scsi attach line already says we're an enclosure, so why didDavid Gwynne
i make it say the second line that says the same thing?
2005-08-04be nicer to the controller the ses device is attached to by doing the scsiDavid Gwynne
commands in a kernel thread, not out of softclock with a timeout. help from pascoe@ ok marco@
2005-08-04match on ich7; testing by Mark.Peoples@asu.eduMichael Shalayeff
2005-08-04regenJonathan Gray
2005-08-04new axeJonathan Gray
2005-08-04Support for ICH7 audio tested by Mark.Peoples at asu.eduJonathan Gray
2005-08-04Include if_ether.h and use better usbd_devinfo_alloc argument. ok brad@Can Erkin Acar
2005-08-04Add support for dell enclosures that do both SES and SAF-TE. ok dlg@Marco Peereboom
2005-08-04Add SCSI 3 define. ok dlg@Marco Peereboom
2005-08-03Move a couple of 2048+4 byte structures from the stack to the heap.Kenneth R Westerback
Create structures to eliminate 2048+4 magic number everywhere. Mostly adapted from NetBSD. tested by sturm@, beck@. ok beck@