summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2001-12-16match piix icu type on 82810ba/m; from netbsdMichael Shalayeff
2001-12-16- Call pf_test6() after we have checked header length and protocol version.jasoni
- If pf_test6 returns a NULL mbuf, just return. - Reinitialize pointer to header after pf_test6(). ok frantzen@
2001-12-15document exit command at Boot: prompt; pvalchev testedTheo de Raadt
2001-12-15first i gave you one of the reasons it mmakes thing better.Michael Shalayeff
second i did not see the final diff. third i never said you should commit this. fourth, 10x for running around offending lusers i'm trying to resolve their problems with.
2001-12-15Fix a long-standing alignment bug by removing the 32-but call/returnKjell Wooding
on Lchr. Notice Lmessage is using Lchr's return, and it has always been a 16-bit call. This should be the root of many (most?) of the Drive:0 Partition:3 hangs. tip o the hat to mickey, who fixed it without necessarily knowing it, and toby, who put the final nail in. gas sucks.
2001-12-15Optimize (reduce) the pmap_changebit() calls for 68060 processors.Miod Vallat
2001-12-15add support for creating span ports so that one can snoop a bridgeJason Wright
from another interface/machine/network.
2001-12-15Disestablish the powerhook on detach. ok jason@Thomas Nordin
2001-12-15support LXT-961; hostmaster@bsws.deTheo de Raadt
2001-12-15syncTheo de Raadt
2001-12-15Slightly reorganize.Miod Vallat
2001-12-14add wskbd, wsmouse, and wsmux cdev entriesJason Wright
2001-12-14add ukbd* at hub? and wskbd* at ukbd?Jason Wright
(with minimal ddb tricks I have a working vga console with usb keyboard on blade100)
2001-12-14syncJason Wright
2001-12-14Add EnableSemi 88E1000 and 88E1000S product IDs.Jason Wright
2001-12-14Remove the ugly protection_codes[] array, only used by the pte_prot()Miod Vallat
macro, by a different version of the aforementioned macro.
2001-12-14less confusing variable namesJason Wright
2001-12-14on some sony vaios (con dios) battery life is reportedMichael Shalayeff
in big endian order, swap if flags was given. reported by: Hans-Joerg Hoexer <Hans-Joerg.Hoexer@yerbouti.franken.de>
2001-12-14add vgafb (disabled), and while here add cgsix/cgthree as disabledJason Wright
2001-12-14Driver for vga framebuffers on sparc64 based on cgsix (which is based onJason Wright
cgsix from sparc and vgafb from macppc).
2001-12-14Add gem (disabled) and hme (...)Dale Rahn
gem works, but is not overly stable yet, sometimes recieves one packet and stops. hme works fine, if the interrupts are connected properly (not yet).
2001-12-14Use default mapping type (little endian) if the type is 0, otherwise useJason Wright
the passed in type. This allows PCI devices to create big endian mappings which is necessary for vgafb.
2001-12-14pass zero as type for bus_space_map2 (the current argument isn't used byJason Wright
the upper layer anyway).
2001-12-14From NetBSD:Dale Rahn
Attempt to deal with pci-pci bridges and the irq handling. It is incorrect, but allows one port of a 4 port hme card to work.
2001-12-14hme can build on macppc, and and would work if the pci-pci bridge wouldDale Rahn
route the interrupts correctly.
2001-12-14Remove cmmu_remote_[gs]et() here too, then...Miod Vallat
2001-12-14Duplicate #include line.Miod Vallat
2001-12-14Sync compilation flags definition accross m68k-based arches.Miod Vallat
mvme68k still lacks some -Wfoo flags, until it is warnings clean.
2001-12-14SMALL_KERNEL -> outline splxNiklas Hallqvist
2001-12-14Repair MVME187 after MVME197 merge.Steve Murphree
2001-12-14New hz value needed by AlphaServer 1200 and a couple other machinesNathan Binkert
2001-12-14Workaround a compiler bug on m68k.Artur Grabowski
2001-12-14garbage collect some unused stuff.Jason Wright
2001-12-14gem wants BUS_DMA_READ define.Dale Rahn
2001-12-14Major restructuring for swizzling to the request queue and unswizzling frommjacob
the response queue. Instead of the ad hoc ISP_SWIZZLE_REQUEST, we now have a complete set of inline functions in isp_inline.h. Each platform is responsible for providing just one of a set of ISP_IOX_{GET,PUT}{8,16,32} macros. The reason this needs to be done is that we need to have a single set of functions that will work correctly on multiple architectures for both little and big endian machines. It also needs to work correctly in the case that we have the request or response queues in memory that has to be treated specially (e.g., have ddi_dma_sync called on it for Solaris after we update it or before we read from it). One thing that falls out of this is that we no longer build requests in the request queue itself. Instead, we build the request locally (e.g., on the stack) and then as part of the swizzling operation, copy it to the request queue entry we've allocated. I thought long and hard about whether this was too expensive a change to make as it in a lot of cases requires an extra copy. On balance, the flexbility is worth it. With any luck, the entry that we build locally stays in a processor writeback cache (after all, it's only 64 bytes) so that the cost of actually flushing it to the memory area that is the shared queue with the PCI device is not all that expensive. We may examine this again and try to get clever in the future to try and avoid copies. Another change that falls out of this is that MEMORYBARRIER should be taken a lot more seriously. The macro ISP_ADD_REQUEST does a MEMORYBARRIER on the entry being added. But there had been many other places this had been missing. It's now very important that it be done. For OpenSD, it does a ddi_dmamap_sync as appropriate. This gets us out of the explicit ddi_dmamap_sync on the whole response queue that we did for SBus cards at each interrupt. Now, because SBus/sparc doesn't use bus_dma, some shenanigans were done to support this. But Jason was nice enough to test the SBus/sparcv9 changes for me, and they did the right thing as well. Set things up so that platforms that cannot have an SBus don't get a lot of the SBus code checks (dead coded out). Additional changes: Fix a longstanding buglet of sorts. When we get an entry via isp_getrqentry, the iptr value that gets returned is the value we intend to eventually plug into the ISP registers as the entry *one past* the last one we've written- *not* the current entry we're updating. All along we've been calling sync functions on the wrong index value. Argh. The 'fix' here is to rename all 'iptr' variables as 'nxti' to remember that this is the 'next' pointer- not the current pointer. Devote a single bit to mboxbsy- and set aside bits for output mbox registers that we need to pick up- we can have at least one command which does not have any defined output registers (MBOX_EXECUTE_FIRMWARE). Explicitly decode GetAllNext SNS Response back *as* a GetAllNext response. Otherwise, we won't unswizzle it correctly. Nuke some additional __P macros.
2001-12-14$OpenBSD$Dale Rahn
2001-12-14Even more one-liners to get the kernel to link.Miod Vallat
2001-12-14Fill the M88100 blanks...Miod Vallat
2001-12-14This one was way too tricky at (almost) 3am. Now GENERIC enters the link phase.Miod Vallat
2001-12-14smurph you're a clown (with apologies to pefo@).Miod Vallat
No way you could have compiled a kernel from this.
2001-12-14Uncle miod had a GENERIC mvme88k and he wanted the kernel to compile, eieio...Miod Vallat
2001-12-14Hmm, too bad the interrupts do not configure. need pci_intr_fixup().Dale Rahn
'commit that' jason@
2001-12-14One more free commit, thanks to smurph@, in order to get GENERIC going.Miod Vallat
2001-12-14Don't use a single static struct alpha_bus_space since there are machinesNathan Binkert
that can have more than one system bus attached to mainbus
2001-12-14Major restructuring for swizzling to the request queue and unswizzling frommjacob
the response queue. Instead of the ad hoc ISP_SWIZZLE_REQUEST, we now have a complete set of inline functions in isp_inline.h. Each platform is responsible for providing just one of a set of ISP_IOX_{GET,PUT}{8,16,32} macros. The reason this needs to be done is that we need to have a single set of functions that will work correctly on multiple architectures for both little and big endian machines. It also needs to work correctly in the case that we have the request or response queues in memory that has to be treated specially (e.g., have ddi_dma_sync called on it for Solaris after we update it or before we read from it). One thing that falls out of this is that we no longer build requests in the request queue itself. Instead, we build the request locally (e.g., on the stack) and then as part of the swizzling operation, copy it to the request queue entry we've allocated. I thought long and hard about whether this was too expensive a change to make as it in a lot of cases requires an extra copy. On balance, the flexbility is worth it. With any luck, the entry that we build locally stays in a processor writeback cache (after all, it's only 64 bytes) so that the cost of actually flushing it to the memory area that is the shared queue with the PCI device is not all that expensive. We may examine this again and try to get clever in the future to try and avoid copies. Another change that falls out of this is that MEMORYBARRIER should be taken a lot more seriously. The macro ISP_ADD_REQUEST does a MEMORYBARRIER on the entry being added. But there had been many other places this had been missing. It's now very important that it be done. For OpenSD, it does a ddi_dmamap_sync as appropriate. This gets us out of the explicit ddi_dmamap_sync on the whole response queue that we did for SBus cards at each interrupt. Now, because SBus/sparc doesn't use bus_dma, some shenanigans were done to support this. But Jason was nice enough to test the SBus/sparcv9 changes for me, and they did the right thing as well. Set things up so that platforms that cannot have an SBus don't get a lot of the SBus code checks (dead coded out). Additional changes: Fix a longstanding buglet of sorts. When we get an entry via isp_getrqentry, the iptr value that gets returned is the value we intend to eventually plug into the ISP registers as the entry *one past* the last one we've written- *not* the current entry we're updating. All along we've been calling sync functions on the wrong index value. Argh. The 'fix' here is to rename all 'iptr' variables as 'nxti' to remember that this is the 'next' pointer- not the current pointer. Devote a single bit to mboxbsy- and set aside bits for output mbox registers that we need to pick up- we can have at least one command which does not have any defined output registers (MBOX_EXECUTE_FIRMWARE). Explicitly decode GetAllNext SNS Response back *as* a GetAllNext response. Otherwise, we won't unswizzle it correctly. Nuke some additional __P macros.
2001-12-14Roll f/w to latest && greatest for 2100 and 2200 cards.mjacob
2001-12-13If initialization fails, panic right away, instead ofNiklas Hallqvist
crashing randomly a little later.
2001-12-13remover registers. bracket spl regions with asm volatilesNiklas Hallqvist
2001-12-13Realistic COPTS handling. Plus it gets in sync with other m68k arches.Miod Vallat
2001-12-13Add magic to the kernel Makefile to remove the need to explicitely putMiod Vallat
the processor type in the configuration files, if you specify a board type. Also, some syntaxic sugar for the MVME187 case as well.