summaryrefslogtreecommitdiff
path: root/sys/dev/isa
AgeCommit message (Collapse)Author
2007-02-14Consistently spell FALLTHROUGH to appease lint.Jonathan Gray
ok kettenis@ cloder@ tom@ henning@
2007-02-06Evil typo; spotted by Thorsten GlaserMiod Vallat
2007-01-07Replace infinite loops with appropriate constructs to fail operation if itMiod Vallat
takes much more time than it should.
2007-01-06Preliminary support for the hp300 single ISA slot found in 4xx `t' models.Miod Vallat
Everything works well but interrupts, where no two devices causes the frodo chip to behave in the same way... (polling will work nicely)
2007-01-05Don't pollute userspace with uneeded headers.Jonathan Gray
2007-01-05Remove unknown sensor that seems to always be fixed at 7Jonathan Gray
on all ThinkPad models.
2007-01-05Switch to indicator type for sensors with boolean values.Jonathan Gray
From Constantine A. Murenin
2007-01-05Change slightly to not need one of the softc members.Jonathan Gray
From Constantine A. Murenin
2006-12-29Avoid void * arithmetic, okay deraadt@, suggestions from millert@Pedro Martelletto
2006-12-23adapt to new two-level sensor api; Constantine A. MureninTheo de Raadt
2006-12-21'tranfer' -> 'transfer' in comments.Kenneth R Westerback
2006-12-02In alloc_attr(), make sure xxansitopc[] indicies are within bounds.Miod Vallat
2006-11-29Add an unpack_attr function to struct wsdisplay_emulops, to match theMiod Vallat
existing alloc_attr function. This allows rasops_unpack_attr to be kept private to rasops, yet available to the screen drivers.
2006-11-29Kernel stack can be swapped. This means that stuff that's on the stackMiod Vallat
should never be referenced outside the context of the process to which this stack belongs unless we do the PHOLD/PRELE dance. Loads of code doesn't follow the rules here. Instead of trying to track down all offenders and fix this hairy situation, it makes much more sense to not swap kernel stacks. From art@, tested by many some time ago.
2006-11-29Add a new member to struct wsemuldisplaydev_attach_args, for a frame bufferMiod Vallat
driver to be able to tell how many wscons screens to attach to it, instead of WSDISPLAY_DEFAULTSCREENS which is a global setting.
2006-11-28give scsi controllers a real attach args to fill in when attaching scsibus.David Gwynne
ok miod@ marco@ deraadt@
2006-10-20remove some NetBSD code.Brad Smith
2006-10-20ansiBrad Smith
2006-10-01fix dmesg line wrapping; this was fallout from shortening the ne(4) dmesgBrad Smith
printing. reported/tested by and okay nick@
2006-09-29If option PCDISPLAY_SOFTCURSOR, force the hardware cursor off every timeMiod Vallat
we switch vt, so that the hardware cursor does not reappear after starting X11, and switching to a text vt. Spotted by jmc@
2006-09-26Zap D_REMOVABLE flag from disklabel. If you didn't already know thatKenneth R Westerback
floppies and cd's were removable, displaying that fact in disklabel output was unlikely to help. And the display in disklabel was the only use of D_REMOVABLE in the tree. ok marco@
2006-08-26Remove ifdef/ifndef __OpenBSD__ maze so only what we use is left.Jonathan Gray
Convert to ansi function declarations while here. No binary change.
2006-08-13RAW_PART p_size on floppies and mcd's should be in sectors.Kenneth R Westerback
Only 'Japanese 1.2MB' floppies have sectors that are not 512 bytes, according to isa/fd.c's fd_types[]. SCSI/ATAPI cd's already use sectors, and mcd cd's should be no different. So there should be no functional change.
2006-08-13Define and use FD_BSIZE, similar to FD_BSIZE from sparc and sparc64Kenneth R Westerback
fd. Eliminate unused variable and FDC_BSIZE which was only used to set value of the unused variable. No change to object file.
2006-07-29Do not redefine ALIGNED_POINTER, it comes from <machine/param.h>Miod Vallat
2006-07-27Rework opl_find() so that it does not need to take a proto softc, shavesMiod Vallat
more than 2.5KB of stack for its callers (and even more on 64 bit arches).
2006-06-26Avoid using the rfact member of 'struct sensor' which is on its way out.Mark Kettenis
2006-06-26Avoid using the rfact member of 'struct sensor' which is on its way out.Mark Kettenis
tested by jmc@
2006-06-24Add abstraction for resistor factors and avoid using the rfact member ofMark Kettenis
'struct sensor' which is on its way out. tested by & ok jsg@
2006-06-19Do not bother initializing the rfact member of `struct sensor'; it is on itsMark Kettenis
way out anyway.
2006-06-17add sys/timeout.hBrad Smith
2006-06-01We do not create st devices with different density modes. i.e. with deviceKenneth R Westerback
minor numbers having bits 2 or 3 set. Eliminate the quirks, etc. used to store info on these non-existant modes. Also eliminate a couple of 'unimplemented' fields in the ioctl request structure. ok beck@ deraadt@
2006-05-22Attach routines can fail before calling *hook_establish(), and theyKenneth R Westerback
often rely on the detach routine for cleanup. So be consistant and careful by checking for a NULL hook before calling *hook_disestablish in detach routines. ok mickey@ brad@ dlg@
2006-05-11if (!foo & BAR) bad, if (!(foo & BAR)) better, and I'll have a cookie perMiod Vallat
file.
2006-04-27from PAE work:Michael Shalayeff
add a BUS_DMA_24BIT flag to signify that dmamap being created is for the isadma use (thus already backed up by the bounce buffers). later also to be used for dmamem allocation.
2006-04-16bus_space_handle_t and bus_space_tag_t being opaque, they can not necessarilyMiod Vallat
be assigned ``0'' (in egprobe() upon failure).
2006-04-16Convert the last remaining net-driver users of ether_input to ether_input_mbuf.Christopher Pascoe
sgec ok martin@ if_ie ok miod@ if_de, if_hp not in GENERIC ok brad@
2006-04-10unify temperature sensor names much moreTheo de Raadt
2006-04-07Add optional flush method to MIDI hardware interface.Jonathan Gray
Allow umidi(4) to send multiple events in a single USB transfer. This greatly improves the number of interrupts umidi is able to generate. From Alexandre Ratchov.
2006-04-01Small fixes from form@:Alexander Yurchenko
- don't allow wildcard port locator - use GPIO_PIN_LOW instead of 0
2006-03-27Some minor nits from form@, no functional changes.Alexander Yurchenko
2006-03-26Support for accesing 8-bit ISA I/O throught the gpio(4)Alexander Yurchenko
framework. Allows to use stupid GPIO device on the Acrosser AR-B1662 board. Work by form@.
2006-03-25allow bpf(4) to ignore packets based on their direction (inbound orDamien Miller
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@
2006-03-15Nuke dk_establish(), no longer used.Miod Vallat
2006-03-14Return ENXIO when trying to open a non-existent device, not ENODEV.Miod Vallat
2006-03-12IPL_IMP -> IPL_VMBrad Smith
2006-03-10Silence mcd during probe, as in 1.13 but accidentally lost in 1.24.Miod Vallat
2006-03-10ansi. no binary change.Jonathan Gray
2006-03-09Do not include <lib/libkern/libkern.h> explicitely, get it via <sys/systm.h>.Miod Vallat
2006-03-09Zero-fill the fake softc during probe, and put a plausible dv_xname, so thatMiod Vallat
probe failures don't display garbage in their messages.