summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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
2001-07-09Trivial ether_input_mbuf().Federico G. Schwindt
2001-07-09trivial ether_input_mbuf().Federico G. Schwindt
btw, shouldn't this code share the am7990 core?
2001-07-09ch_flags should be ch_statusConstantine Sapuntzakis
2001-07-09regenMichael Shalayeff
2001-07-09CBEM56G from matthieu@ (;Michael Shalayeff
2001-07-09Make quad types on alpha be "long long" not "long". This means thatTodd C. Miller
printf's "%lld" can be used with a quad_t or int64_t without a bogus cast.
2001-07-09Minor code clean ups.Kenneth R Westerback
Rename some functions for better consistancy/clarity, e.g. tul_wdtr_done -> tul_wide_done tul_msgout_wide -> tul_msgout_wdtr Consolidate extended message generation into new function tul_msgout_extended() by using HCS_Msg[] array, replacing several repetitive bus_write_*() code sections. A couple of minor code clarifications to eliminate extra return statements and make absolutely sure HCS_ActScb is NULL during a reselect.
2001-07-09Move IFQ_SET_READY macro to attach time.Federico G. Schwindt
2001-07-09More lame OpenBSD tags.Federico G. Schwindt
2001-07-09Fix incorrect logic 'optimization' so that sync is negotiated even ifKenneth R Westerback
wide is not. Now my CD drives on the narrow channel of the INI-9100UW negotiate to the same configuration they do on other cards.
2001-07-09Remove dubious #include MACRO "string" construct (non-ANSI)Marc Espie
and use the more correct #include <file.h> style. From discussion with millert@.
2001-07-09Extend nat/rdr syntax. Add source/destination selection. MakeDaniel Hartmeier
interface optional. Suggested by rdump@river.com. nat [on [!] <ifname>] from (any | [!] <addr>[/<mask>]) to (any | [!] <addr>[/<mask>]) -> <addr> [proto (tcp | udp | icmp)] rdr [on [!] <ifname>] from (any | [!] <addr>[/<mask>]) to (any | [!] <addr>[/<mask>]) port <a>[:<b>] -> <addr> port <c>[:*] [proto (tcp | udp | icmp)]
2001-07-09add i2o devicesMichael Shalayeff
2001-07-09OpenBSD tags.Federico G. Schwindt
2001-07-09only on prog_switch, more includes and protosMichael Shalayeff
2001-07-09remove unused files, build bzero off of memsetMichael Shalayeff
2001-07-09did ever compile?Michael Shalayeff
2001-07-09have to have a proto hereMichael Shalayeff
2001-07-09protos, includes, and terransMichael Shalayeff
2001-07-09a wagon and a small cart of protos, spaces, and includesMichael Shalayeff
2001-07-09protos and spacesMichael Shalayeff
2001-07-09proper vtophys types, spaces, protosMichael Shalayeff
2001-07-09looking at other archs vtophys lives thereMichael Shalayeff
2001-07-09more spacees, includes, protosMichael Shalayeff
2001-07-09protos, includes, spaces; from prev ciMichael Shalayeff
2001-07-09protos, includes, spacesMichael Shalayeff
2001-07-09lots of parens, protosMichael Shalayeff
2001-07-09missing includes, fix functionsMichael Shalayeff
2001-07-09ptr types dammitMichael Shalayeff
2001-07-09missing includes and spacesMichael Shalayeff