summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-05-31Reorg the code to be more sane. More coming.Tobias Weingartner
ok brad@ jason@
2006-05-31do not commit debug.Dale Rahn
2006-05-31Use same defines as on zaurus, need to verify the correct settings here.Dale Rahn
again, pointed out by miod@
2006-05-31Remove unused cfdriver field, pointed out by miod@Dale Rahn
2006-05-31Preserve ATU translations instead of forcing the values to something.Dale Rahn
Detect device type using some simple checks and use table driven interrupt maps for known devices. IO space appears to not want to be at 0, but at some bus offset (0x90000000) so skew mappings into this io bus base. Thecus N2100 and I/O Data Landisk (HDL-G) are now partially working.
2006-05-31we should support all these sas controllersDavid Gwynne
2006-05-31correctly perform bus base/physical addr translation.Dale Rahn
2006-05-31allow mpi to attach to the scsi controllers again. however, mpt will attachDavid Gwynne
to them by default, so disable mpt to get mpi to attach. requested by deraadt@
2006-05-31fix treeTheo de Raadt
2006-05-31When allocating a buffer, use the supplied length if the requestedCan Erkin Acar
length is smaller. Tested by joris@, ok gwk@
2006-05-31enable mpi in GENERIC on amd64, i386, and macppc. jason already enabled itDavid Gwynne
on sparc64 last night. macppc gets it in RAMDISK as well.
2006-05-31we dont do domain validation on real scsi controllers (as opposed to sasDavid Gwynne
and fc controllers), so mpi will be slower than mpt for io on those hbas. for now. ifdef the scsi stuff out till we make it go fast, and so we can enable mpi everywhere.
2006-05-31mpi hardware uses an 8 bit field to describe the number of devices it hasDavid Gwynne
on a port. since 256 wont fit into 8 bits they say 0 means 256. this diff does the appropriate interpretation. it also avoids a divide by zero when we figure the openings out by dividing the number of commands the controller can support by the number of devices it supports. panic found while testing the fc controller at home.
2006-05-31 Add support for primary and alternate volume tags to ch(4) - borrowedBob Beck
and adapted from FreeBSD. This adds the ability for status requests to ask for the volume tags (usually bar codes, on changers with a bar code reader) on media inthe library. ok deraadt@, krw@
2006-05-31allow TULIP_TXTIMER to fit in the softc field tulip_txtimer.Brad Smith
From NetBSD
2006-05-31Use symbolic constants for TLB demapping operations.Mark Kettenis
This fixes a few cases where the hardcoded constant indicated a reserved operation instead of the intended secundary context flush. ok jason@
2006-05-31dont display the first manufacturing pageDavid Gwynne
2006-05-31c++ style comments shouldnt be in the treeDavid Gwynne
2006-05-31fix Jumbo frames on strict alignment architectures by allocating a new mbuf andBrad Smith
copying the Ethernet header to the new mbuf. The new mbuf is then prepended into the existing mbuf chain. From FreeBSD ok reyk@ pascoe@ jason@
2006-05-31add comment indictation that rtable_add must be called at splsoftnetHenning Brauer
2006-05-31order cdevs alphabetically by vendorFelix Kronlage
ok brad@
2006-05-31Enable wdt(4) by default. ok deraadtMichael Knudsen
2006-05-31Use the watchdog(4) framework for watchdog services instead of rollingMichael Knudsen
more or less the same code. This means that all our watchdog drivers use the framework, and that they all can be configured using sysctl kern.watchdog.{period,auto}, and they can all use watchdogd. At least for now we still support the /dev/wdt0 char device and userland poking using ioctl. Testing by < jg ! rilk , com >, many thanks! ok deraadt
2006-05-31move us to multiple routing table heads.Henning Brauer
-instead of staticaly declaring the heads, allocate memory for them -add second dimension to the routing table head array, table ID -space saver: do not use the AF as array index directly, but have an AF->index translation array and only account for AFs actually attaching a routing table note that whil ethat allows for multiple routing table heads, nothing uses taht yet. tested by many, ok claudio reyk norby mcbride
2006-05-31match SUNW,qlc->isp (one step away from root on isp/fibre channel on US3)Jason Wright
2006-05-31int32 i >> 32 is undefined, so cast to unsigned long long first, ok dlgTheo de Raadt
2006-05-31implement chained scatter gather lists.David Gwynne
2006-05-30how about we -correctly- match the schizo. When I get home, I'm goingJason Wright
to make this code cleaner, but I'm bloody tired of typing the root device name
2006-05-30Give up trying to communicate after 10 consecutive errors - the deviceChristopher Pascoe
is most likely not coming back.
2006-05-30Export the route labels via sysctl interface not only via RTM_GET.Claudio Jeker
OK henning@ norby@
2006-05-30Do not reset the board, for it will not keep the interrupt configuration theMiod Vallat
BIOS configured it in; from NetBSD via Andrew Daugherity.
2006-05-30add Oxford CB950 to the list of devices having more than one BAR, soFelix Kronlage
that it can be attached properly
2006-05-30removes the isavar.h include and the ifdef bsdi cruftFelix Kronlage
ok miod
2006-05-30remove dev/isa/isavar.h include, not needed anymoreFelix Kronlage
ok miod
2006-05-30Define meaningful values for IPL_ levels, which directly map to the splMiod Vallat
operation. Will allow a vax implementation of splassert().
2006-05-30Map buffers with pmap_kenter_pa() instead of pmap_enter().Miod Vallat
2006-05-30sync with reality.Christopher Pascoe
2006-05-30The aperture that is needed in legacy vga space is even larger forMatthieu Herrb
the mac mini's ATI graphics card. The full 0xa0000-0xfffff range is used here.
2006-05-30Sync region detection algorithm with macppc, helps some recent cards, suchMiod Vallat
as 3DLabs Permedia and Intergraph Expert3D. Also, if no mmio region is found, attach anyway, this only prevents accelerated X11 from starting.
2006-05-30Not necessary here either.Miod Vallat
2006-05-30rework the schizo attach to match the upaid and paddr regsJason Wright
(/pci@8,600000/, 8 == upaid, 600000 == paddr of registers) Also, match the mpi (LSILogic,sas)
2006-05-30Put ASF/IPMI port 623 into the bad dynamic udp table, because otherwiseTheo de Raadt
we will randomly choose that stupid port, which NIC's are sometimes programmed to eat invisibly; sthen@bootes.spacehopper.org, pr5139
2006-05-30If a zero-length bulk or interrupt transfer is requested then assumeChristopher Pascoe
USBD_FORCE_SHORT_XFER to ensure that we actually build and execute a transfer. Based on changes in FreeBSD rev1.47
2006-05-30Remove dead toes.Miod Vallat
2006-05-30with Naddy prodding, claudio's peril sensitive glasses turning black, andTodd T. Fries
msf@'s assistance with hexdumping, this bug was found. do NOT access the wrong union member (sockaddr_in) when using v6 addresses this fixes output errors when displaying v6 encap routes for ipsecctl, route, and recently netstat ok hshoexer@ markus@ claudio@ naddy@
2006-05-30Several pieces were copied over from previous ports that are unnecessary,Dale Rahn
pointed out by miod@
2006-05-30do not deref a ptr before NULL check; pedro@ okMichael Shalayeff
2006-05-30mpi works on sparc64 (running a U3 booted/rooted from one to commit this).Jason Wright
dlg can fix the distrib/www stuff to doc it.
2006-05-30raise the timeout on the init commands (especially port enable) to giveDavid Gwynne
the sas controller currently being used in jasons blade 2000 a chance to respond.
2006-05-30hush; ok dlgJason Wright