summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-06-01Consistantly map com0 irq.Dale Rahn
2006-06-01Just say NO to noisy dmesg.Dale Rahn
2006-06-01IO addresses will always be in the right range, this check is wrong.Dale Rahn
2006-06-01Just say no to noisy dmesg.Dale Rahn
2006-06-01Now that this maps correctly, allow the interrupt to map properly.Dale Rahn
2006-06-01Properly remap I/O Addresses for theucs/IOData boxes.Dale Rahn
2006-06-01remove another useless isavar.h includeFelix Kronlage
ok miod@
2006-06-01oops, remove debugging cruftJason Wright
2006-06-0164 bit dva addresses so we can >> 32 later; ok dlgTheo de Raadt
2006-06-01Disable ipmi in GENERIC for the moment - it breaks too much stuffBob Beck
on any of my sun amd64's as well as other ones (hp). We can re-enable it again when marco fixes it to be stable. ok deraadt@ and the crocodile hunter..
2006-05-31It's bit 13 that's causing the address aliasing in the cache, not bit 14.Mark Kettenis
ok jason@
2006-05-31xcs -> xscBrad Smith
2006-05-31Capture the port_wwn and node_wwn corresponding to a target id everyKenneth R Westerback
time a scsi_request is processed. Crude but effective until a more elegant solution is found. This allows the boot drive to be found on fibre channel booting machines. ok jason@ deraadt@
2006-05-31enable mpiDavid Gwynne
ok deraadt@
2006-05-31remove some silly casts. put spl calls after all declarations.Ted Unangst
put one splx in a better spot. make a variable size MALLOC use malloc. remove null test after malloc(M_WAITOK). add PR_NOWAIT flag to pool_get instead of 0. change callbacks to correct type. ok brad deraadt markus mickey
2006-05-31byteswap the ioc_status field so we can respond to scsi things properly onDavid Gwynne
bigendian archs. this lets ses attach now.
2006-05-31Reset pcb_onfault before invoking uvm_fault().Miod Vallat
2006-05-31extend the bootpath values to 64bits, and deal with falloutJason Wright
extend str2hex to handle long's, and teach it that strings starting with 'w', consisting of hex digits are really just hex digits match fp to scsibus (fiber port) match fiber channel portwwn/lun to it's bootpath variables result: with a small change to isp(mailed to mjacob) we can correctly autoconf with a boot path of: /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@w21000004cf948498,0:a/bsd ie. schizo/ isp/ scsisbus/disk with port WWN of 21...98, lun 0, partition a
2006-05-31add a place to store the PortWWN and NodeWWN for fibre channel stuffs.Jason Wright
2006-05-31Ding dong, __NEWINTR is deadMiod Vallat
2006-05-31Do not put _OS_ value on the stack.Can Erkin Acar
excellent bug report and testing by Berk Demir < bdd at mindcast dot org >
2006-05-31do not call acpi_powerdown() unless acpi has successfully initializedTodd T. Fries
ok gwk@ canacar@
2006-05-31Match the specs and only shut down if notify_type is 0x80Can Erkin Acar
Reported and tested by todd@, ok gwk@
2006-05-31Damnit! no static functions in the kernelJason Wright
2006-05-31make non debug kernels compile againDavid Gwynne
2006-05-31Let the EHCI hardware track the toggle state for bulk and interruptChristopher Pascoe
transfers. This fixes some cases where the software toggle tracking was not doing the right thing. For example, a short transfer that transferred 0 bytes of the requested qTD transfer size does cause a toggle change, but the existing code was assuming it didn't. Derived from work in FreeBSD. Fixes at least one USB2 cdce device, which would otherwise drop every second packet due to incorrect toggle state. commit it, dlg@
2006-05-31The bright people at Sun removed the secondary context from the IMMU in theMark Kettenis
UltraSPARC III. Hack around it by temporarily switching to nucleus context when flushing TLBs. Put this hack under HORRID_III_HACK for now. Compiling with HORRID_III_HACK results in a kernel that runs on the Blade 2000 "at the speed of a 140MHz UltraSPARC I". ok jason@
2006-05-31- stop counting input/output bytes in the driver as this is taken care ofBrad Smith
in ether_input/ether_output. - only count input packets when sure the packet can be received as opposed to counting it unconditionally, then potentially running into an error and then dropping the packet. ok reyk@
2006-05-31Save and restore the data toggle value when a pipe to an endpointChristopher Pascoe
is closed and then reopened. This may be necessary now that we no longer clear endpoint stalls every time a pipe is opened. Previously we could assume an initial toggle value of zero because a clear-stall operation resets the device's toggle state. Derived from work in FreeBSD. This is most likely to affect devices like printers, which open pipes for short periods of time and close them again. ok dlg@
2006-05-31remove the fetching of the manufacturing page. it was just there to see ifDavid Gwynne
i got the page fetching right, its not really useful for anything in the real world.
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