summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-03-15Remove dead code (SUPPORTS_NON_CONSOLE and MD_DISPLAY_ISA_IOT)Matthieu Herrb
ok miod@, drahn@, dim@.
2006-03-15Nuke dk_establish(), no longer used.Miod Vallat
2006-03-15Switch sparc to device_register() to find out its boot device (when it's aMiod Vallat
disk).
2006-03-15Correct checks against cd_ndevs - valid numbers are strictly inferior toMiod Vallat
cd_ndevs.
2006-03-15Entries in cd_devs[] may be NULL, so be sure to check for them in yourMiod Vallat
device open() function.
2006-03-15Remove address range KASSERT check in vtopte() and kvtopte(), callers areMiod Vallat
supposed to know which one of the two is applicable when the address is not guaranteed to be a kernel address. ok kettenis@ mickey@
2006-03-15spacingTheo de Raadt
2006-03-15knfTheo de Raadt
2006-03-15allow for more physmem segments; as required by some dell from dhill@Michael Shalayeff
2006-03-15no more need for apertureTheo de Raadt
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