summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2001-07-17addcom and pccom at addcom (commented out)Jason Wright
2001-07-17From NetBSD: driver for Addonics FlexPort 8SJason Wright
KNF'd and interrupt routine rewritten in addition to normal porting. (Interrupts don't appear to work the way they are described, so depend on the slave devices doing the right thing).
2001-07-17Rework exphymatch so that it uses positive logic. Makes more sense.Nathan Binkert
tested by jason@
2001-07-16Move altq after pf; suggested by aaron@, kjc@ ok.Federico G. Schwindt
2001-07-16Addressing mode work by Jim Uhl:Hugh Graham
- fix PC relative byte displacement in getaddr_byte - add support for word displacement to getaddr_byte This allows certain libm inverse trig functions to work on systems that lack a native polyd instruction.
2001-07-16Ignore O_TRUNC on open() if we are not opening a regular file.Todd C. Miller
csapuntz@ OK'd
2001-07-16add support for the PHY on a 3c920 / 3c980C found on Tyan Thunder K7Peter Galbavy
boards. ok'd nate@
2001-07-16regenPeter Galbavy
2001-07-16add 3com OUIPeter Galbavy
2001-07-16Make gcc 3.0 happy. From Heikki Korpela <heko@iki.fi>Jean-Jacques Bernard-Gundol
2001-07-16oops, remove some debugging stuffJason Wright
2001-07-16- Separate out reset function of proc unitJason Wright
- Handle ram detection errors more gracefully - If things go awry after enabling DMA, turn off polling - Follow hifn's specs for readram and writeram commands more closely - Add bus_dmamap_sync()'s during ram probing as well
2001-07-16Make truncating a device a no-op instead of returning an error. We canConstantine Sapuntzakis
fix the rest of the kernel some other time.
2001-07-16Don't try to truncate anything except for symlinks, directories, andConstantine Sapuntzakis
regular files. ftruncate and truncate that go through FFS/EXT2FS/MFS will now return EINVAL when done on devices. Bug introduced when VOP_TRUNCATE was removed, thus removing spec_truncate. Thanks to millert@ for tracking this one down.
2001-07-15increase src->state to 1 when creating state from intermediate (non-SYN) ↵Daniel Hartmeier
packets. this fixes one class of BAD state messages (where seqlo=0, seqhi=1).
2001-07-15add install targetassar
2001-07-15add macros for spinlockinit, spinlockmgr to build for MULTIPROCESSORassar
or LOCKDEBUG
2001-07-15(define simple_lock_only_held): add dummy nop macroassar
2001-07-15Some more KNFNiklas Hallqvist
2001-07-15Comment clarification and indent; ok mickey@Niklas Hallqvist
2001-07-15spellingPeter Valchev
2001-07-15regenMichael Shalayeff
2001-07-15add support for SOHOware NUB100; from Jason Ackley <jason@ackley.net>Michael Shalayeff
2001-07-14use int instead of signed char. doesn't use more memory (padding occurs) and ↵Daniel Hartmeier
is actually faster.
2001-07-13make kern_msgbuf work for sparc, i thought it worked for me before; from miodMichael Shalayeff
2001-07-13indent.Federico G. Schwindt
2001-07-13delete duplicate definitionsTheo de Raadt
2001-07-13All two common configurations for DEC EtherWorks cardsNiklas Hallqvist
2001-07-13On my 10th wedding anniversary I am celebrating byNiklas Hallqvist
committing this driver for technology from back when I got married :-) It is for DEC EtherWorks cards, and comes from NetBSD. I have done severe KNF, and fixed the driver to work with PIO-only cards. Enjoy!
2001-07-13initialize bus width and number of luns supported.Michael Shalayeff
this is tested on SmartRAID IV and consistant w/ what netbsd does.
2001-07-13Change references to inic-950 to inic-940/950 to reflect chipsKenneth R Westerback
actually supported. Update copyright to include 2001. Fold iha_se2_rd_all() into iha_read_eeprom(), eliminating magic number 31 at the same time, calculating correct offset of checksum at run time instead. Eliminate static global variable iha_nvram in favour of dynamic variable in iha_init_tulip(), which is only place it is used. Rectify a few typos in comments.
2001-07-13Remove static'ness of functions in line with normal OpenBSDKenneth R Westerback
preferences. Rename tul_* functions/variables iha_* for consistancy, since all are now visible. As updating the EEPROM did not work, don't try. Remove now unused static dftNvram variable, and functions used only in trying to write it to EEPROM. Make iha_rate_tbl a const.
2001-07-13everytime i clean in here, i get a 250 line diff...Theo de Raadt
2001-07-12extra wddone caused biodone panics occasionallyConstantine Sapuntzakis
2001-07-12Rework of probe code. Try better to deal with floating buses. DependingConstantine Sapuntzakis
on the value floating on the bus, we would occasionally skip the register writability tests. Whoops... Move fix for a flash device that doesn't wake up until a command is sent Try to supress spurious interrupts. However, if one does happen, acknowledge it anyway by reading status. This prevents the interrupt condition from persisting.
2001-07-11Eliminate use of static functions in line with normal OpenBSDKenneth R Westerback
preferences. Having more debugging info available during fixup of this driver to work on powerpc can't hurt either! Change adwminphys() to adw_minphys() to make consistant with all other function names in adw.c.
2001-07-11Simplify pf_pull_hdr(), don't use inner IP header's ip_len or ip_offDaniel Hartmeier
in case of pf_test_state_icmp(). This solves the "ICMP error message too short" problems. Reported by ycchang and heko.
2001-07-11need to save hint (verified from current netbsd uvm_map.c) -- need modmts
to allow bpf to manage shared address space.
2001-07-10Use offsetof() from sys/param.h, not a local define.Kenneth R Westerback
2001-07-10Missing breaks.Marc Espie
Case labels must be integral values for deterministic behavior.
2001-07-10ANSI C does not like labels: without a statement after that.Marc Espie
Restore missing breaks.
2001-07-10another lame OpenBSD tag.Federico G. Schwindt
2001-07-10ether_input_mbuf() conversion; thanks to drahn@ for testing.Federico G. Schwindt
2001-07-10Unbreak commit to use memset.c instead of bzero.cDale Rahn
Suspect that this is really broken code in libkern/arch/powerpc/Makefile.inc
2001-07-10Until fxp and if_de are fixed with the correct parameter to vtophys()Dale Rahn
this function cannot be prototyped.
2001-07-10Wait 1 second after soft reset.Constantine Sapuntzakis
Add back IDENTIFY after soft reset. Fix ch_flags -> ch_status in a couple places
2001-07-09do compare in host order. found by millert@.Daniel Hartmeier
2001-07-09Match CBEM56G as wellNiklas Hallqvist
2001-07-09syncNiklas Hallqvist
2001-07-09Ehh, nice duplicateNiklas Hallqvist