summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-03-15remove dead macrosMichael Shalayeff
2006-03-15switch the ioctl paths to using ami_start instead of ami_cmd. now the onlyDavid Gwynne
things left using ami_cmd are the scsi paths.
2006-03-15clean up ami_start and move the error handling for a failed command fromDavid Gwynne
ami_cmd into ami_start.
2006-03-15split the code in ami_cmd that does the polling commands out into aDavid Gwynne
function of its own. switch callers of ami_cmd that want polled commands over to using ami_poll.
2006-03-15sc->sc_dev.dv_xname converted to DEVNAME(sc). makes things a little easierDavid Gwynne
for me to read.
2006-03-15copyout() the pollfds if poll() gets interrupted. This resets the reventsClaudio Jeker
bitmask and makes poll() behave like documented in the man page. OK deraadt@
2006-03-14no need for an aperture. we are unlikely to ever allow pci video cardsTheo de Raadt
in these machines, because pci video cards contain too much evil. if we do support them later, we add it back. ok miod
2006-03-14Return ENXIO when trying to open a non-existent device, not ENODEV.Miod Vallat
2006-03-14move the loading of the dmamaps for passthrough commands out of ami_cmdDavid Gwynne
and into a function of its own called ami_load_ptmem. sleep now, more cleanup later.
2006-03-14trailing tabs nomoreMichael Shalayeff
2006-03-14trailing tabs nomoreMichael Shalayeff
2006-03-14move the loading of the dma maps for logical disk reads and writes fromDavid Gwynne
ami_cmd up into ami_scsi_cmd. this simplifies ami_cmd somewhat and moves more stuff out from under splbio. theres more to come.
2006-03-14prevent the faults on iret to run w/ disabled intrs and cause deadlocks; ↵Michael Shalayeff
niklas toby tom ok
2006-03-14knfDavid Gwynne
2006-03-14shuffle the switch statement around in scsi_cmd. do the io commandsDavid Gwynne
outside the switch so i have some more room to put ugly code in there.
2006-03-14implement a Unicast Reverse Path Forwarding (uRPF) check for pf(4)Damien Miller
which optionally verifies that a packet is received on the interface that holds the route back to the packet's source address. This makes it an automatic ingress filter, but only when routing is fully symmetric. bugfix feedback claudio@; ok claudio@ and dhartmei@
2006-03-14a touch of knfDavid Gwynne
2006-03-14add support for the Sony CLIE PEG-T625 and potentially a range of otherDavid Gwynne
unusually behaved CLIE products. they attach as palm4 type devices, but they stall on a certain init command. now we catch this stall and use it to switch the way we use the device to somethig more appropriate. from Andrew Smith
2006-03-14move the kernel 1m up to provide more space for isadma; deraadt@ okMichael Shalayeff
2006-03-13Remove unused softc member.Miod Vallat
2006-03-13Put wsscreen_list array inside the softc instead of on the stack; similar fixMiod Vallat
as happened on hp300 and sparc* yesterday.
2006-03-13make the dmseg printing look a little nicer.Brad Smith
ok dlg@
2006-03-13Although we can not currently run the glass console with colors if in anMiod Vallat
indexed mode, remember the colormap information (if any) when the real driver attaches, and use it to allow for X11 to control the colormap. This allows glass console and 8bpp X11 on DAFB (previously, this would only be possible if the console was on cereal).
2006-03-13RegenMiod Vallat
2006-03-13Conforming to the party's line, report unconfigured devices asMiod Vallat
"TC identifier" (description) at tc0 ... unconfigured instead of drivername (description) at tc0 ... unconfigured Plus this allows us to shrinken the description structure and get rid of a generated file. Only affects TCVERBOSE kernels.
2006-03-13* Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set toBrad Smith
NULL for root PCI busses. For busses behind a bridge, it points to a persistent copy of the bridge's pcitag_t. This can be very useful for machine-dependent PCI bus enumeration code. From NetBSD ok grange@ kettenis@
2006-03-13Protect sgmap extents with splvm(); from NetBSD.Miod Vallat
2006-03-13remove IPL_IMP.Brad Smith
2006-03-13remove splimp.Brad Smith
ok miod@
2006-03-13time-bind and lower power in lock spinning and a couple of other ipi loops ↵Michael Shalayeff
by using pause insn; brad@ ok tedu@ ok and feedback krw@ testing
2006-03-13Set the address decode bit only if the iobase 0 register is available.Federico G. Schwindt
Fixes the wd part of the sandisk wifi + 128 CF. Only multi function cards are affected at this time. quasi ok from uwe@
2006-03-13repair commands w/ no scsi_xfer but the affected code was currently dead ↵Michael Shalayeff
anyway; pointed out by Tonnerre LOMBARD <tonnerre@thebsh.sygroup.ch>
2006-03-13Fix machines that need PCI access during ACPI bringup.Marco Peereboom
Help and ok kettenis.
2006-03-13Fix machines that need PCI access during ACPI bringup.Marco Peereboom
Inspired by gklok@cogeco.ca. ok kettenis
2006-03-13finner grained use of splbio in scsi_raw_cmd.David Gwynne
2006-03-13finer use of splbio in scsi_cmd.David Gwynne
2006-03-13split the io and synchronise paths for scsi commands going to the logicalDavid Gwynne
disks.
2006-03-13ansi/deregister. No binary change.Jonathan Gray
2006-03-12Previous fix was half-done, move the wsscreen_list array into the softcMiod Vallat
as well.
2006-03-12Move struct wsscreen_list out of the stack as on sparc.Miod Vallat
2006-03-12When attaching a wsdisplay, the wsscreen_list structure can not be on theMiod Vallat
stack; found the hard way by Stefano <stefano@merlinobbs.net>.
2006-03-12Don't leave a dangling pointer to the process-specific LDT afterTom Cosgrove
we free it. Instead set it to the default value for a new process. Bug found by hugh@, fix tested by several - thanks. ok weingart@ deraadt@
2006-03-12regenBrad Smith
2006-03-12some ATI devices.Brad Smith
From Dimitry Andric
2006-03-12make SAFE_DEBUG compile clean; ssehic@gmailTheo de Raadt
2006-03-12mbuf use-after-free; ok henning, djm, bradMarkus Friedl
2006-03-12Make use of pci_matchbyid().Brad Smith
2006-03-12with pcn(4) now in place remove or replace the references to PCI le(4)Martin Reindl
and complement pcn* at pci? where useful as request by brad@ ok brad@
2006-03-12sensors_head is only used in kern_sensors.c, so its unnecessay to declareDavid Gwynne
it in sensors.h. from Constantine A. Murenin
2006-03-12Properly scale voltage on w83l784r.Mark Kettenis
Origional patch from Constantine A. Murenin.