Commit Graph

68860 Commits

Author SHA1 Message Date
augustss 0390dd7f3e Fix spelling in comment. 2000-08-12 22:24:26 +00:00
tv 9dae9ea9c5 - Conditionalize ip_gre.c on both "inet" and "gre".
- Comment out use of net_osdep.c.  This file is currently completely #if 0'd.
2000-08-12 20:47:49 +00:00
scw e09ab8e986 G/C an unused variable. 2000-08-12 20:09:12 +00:00
jhawk df711325aa "boostrap" => "bootstrap" 2000-08-12 18:52:42 +00:00
bjh21 5317f1db63 General cleanup and factoring out of common code in ea_readbuf and ea_writebuf. 2000-08-12 18:18:52 +00:00
thorpej 8521dd166a Clean up some include paths. 2000-08-12 18:08:43 +00:00
augustss c83f79e315 Add a couple of Inland adapters I forgot last time. 2000-08-12 17:59:12 +00:00
sommerfeld a7449460ec add comment warning about possible unlock/sleep race 2000-08-12 17:46:25 +00:00
sommerfeld 41c6473b10 Use ltsleep in a loop instead of simple_unlock/tsleep/goto try_again 2000-08-12 17:44:02 +00:00
bjh21 7d96bc05ba Make various types unsigned, for ease of comparison.
Use bus_space_read_multi_2 and bus_space_write_multi_2 to copy packets to/from
board.
2000-08-12 17:03:44 +00:00
sommerfeld 861fcc44b7 Use ltsleep(...,PNORELOCK..) instead of simple_unlock()/tsleep() 2000-08-12 16:43:00 +00:00
sommerfeld fe7a6531b0 Add P_BIGLOCK process flag, indicating that the processor should hold
the kernel "big lock" when running this process.
(this is largely a placeholder for now; big lock code will be added later).
2000-08-12 16:38:43 +00:00
sommerfeld a6cdaddbe6 Use ltsleep(... PNORELOCK ) instead of simple_unlock()/tsleep() 2000-08-12 16:29:36 +00:00
sommerfeld 01233143b9 Use ltsleep instead of simple_unlock/tsleep/simple_lock 2000-08-12 16:28:30 +00:00
bjh21 f096772215 Two changes for endianness-independence (when we finally split of the SEEQ 8005
driver and make it MI):

Set the ByteSwap bit on big-endian hosts, so we can use 16-bit transfers to get
at packets whatever.

Treat Tx/Rx headers as arrays of four bytes rather than as 32-bit words.
2000-08-12 15:29:35 +00:00
augustss be1aad52d8 Regen. 2000-08-12 14:58:20 +00:00
augustss 9d708cda6b Note that we handle RBC and a LaCie CD R/W. 2000-08-12 14:54:18 +00:00
augustss 807228a4d8 Make attach message correct for non-umass devices.
Handle RBC (a SCSI subset).
2000-08-12 14:52:44 +00:00
augustss 3fff1255ea Add some more vendors and devices. 2000-08-12 14:51:01 +00:00
augustss 124bec855a Minor whitespace change. 2000-08-12 14:35:20 +00:00
enami beb808e530 Put # endif directive after the right (i.e., matching) close brace
to prevent compilation error.
2000-08-12 14:17:13 +00:00
bjh21 7d83a5201a bus_space version of if_ea.c -- should have been committed before.
Transmit and receive buffer sizes aren't an intrinsic property of the card,
so they belong in if_ea.c rather than if_eareg.h.

Correct some comments in if_ea.c
2000-08-12 14:06:29 +00:00
mason ee4a3af175 This should be the final part of moving to 64 PTYs by default. Added
entries for tty{r,s}{0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f} to /etc/ttys.

Thanks to Matthew Green for pointing out the need.
2000-08-12 13:43:40 +00:00
bjh21 4493200775 Use bus_space stuff. No more ReadShort and WriteShort.
Also a few minor cleanups.
2000-08-12 13:35:08 +00:00
bjh21 7ba12358d7 return isn't a function call 2000-08-12 12:20:17 +00:00
bjh21 b108872b97 Remove spurious reset of card in probe routine -- it can almost certainly
safely be left till attach time.
2000-08-12 12:15:59 +00:00
bjh21 ef01128d16 Avoid gratuitously copying data on transmission as well, and hence do away
with the 2k packet buffer in the softc.
2000-08-12 11:56:46 +00:00
wiz c6253bccb9 add FOAD 2000-08-12 11:09:43 +00:00
veego fea1509f80 Apply fix from IWAMOTO Toshihiro in pr#10813:
rev 1.35 of ip_nat.c checks if packets are too short.
 For ICMP packets, this packet length checking double counts
 the length of an IP header contained in ICMP messages.
 So, unless ICMP packets are long enough (such as echo-reply),
 packets are mistakingly considered too short and are dropped.
2000-08-12 08:08:54 +00:00
veego 35df2482b0 Protect a IPLLOG with ifdef IPFILTER_LOG. Patch from Darren Reed. 2000-08-12 08:04:18 +00:00
tsutsui 23830f1e6c - Check CR_RST rather than ISR_TXRCMP and ISR_RXRCMP in sip_reset()
- Add more delay after reset
- "Big endian mode" on SiS 900 seems broken so don't enable it;
  use htole32()/le32toh() instead
- Don't cast u_int16_t array to u_int8_t pointer
- Add some delay() to FILTER_EMIT macro in sip_set_filter()

Now SiS 900 works on my macppc.
2000-08-12 07:38:40 +00:00
msaitoh 4c0e0bb61c - enable KERNFS and PROCFS
- disable NULLFS and UMAPFS
2000-08-12 06:59:01 +00:00
msaitoh 7803e30fde - remove "options PMAP_NEW"
- enable "options INET"
 - enable "pseudo-device loop"
2000-08-12 06:53:37 +00:00
phil 8ecc16e026 Add the coda services. 2000-08-11 23:25:34 +00:00
matt 576563305b A little cleanup. Deal with lost packets 2000-08-11 23:11:12 +00:00
tv 0f6c5303e1 Missed change of parameter for %r->db_format_radix() change. 2000-08-11 22:50:47 +00:00
matt 52a3078697 fix some size_t/int confusion. 2000-08-11 22:21:41 +00:00
matt 66617b2137 Add ibcs2_sys_gtty. 2000-08-11 22:20:10 +00:00
matt ef5099c8d8 Use size_t appropriately. 2000-08-11 22:19:29 +00:00
matt e4dc804075 Regen. 2000-08-11 22:17:58 +00:00
matt 4153441571 add ibcs2_sys_gtty 2000-08-11 22:14:07 +00:00
tls c9dc8413bb Make our policy WRT tagged queueing consistent and sane: ordered tags for sync writes, simple tags for all else. Should make ahc and adv a bit more reliable (metadata writes won't get reordered incorrectly...) and isp a bit more performant (it was using ordered tags all the time). 2000-08-11 21:31:19 +00:00
thorpej 36ff456d9a Document the DE422 Ethernet interface. 2000-08-11 20:47:14 +00:00
tshiozak 2ef55c239a Add __mb_cur_max and rename setlocale function.
(Lack of __mb_cur_max causes to import setlocale.o in libc.a
and causes conflict of symbol, pointed out by Johan Danielsson.)
2000-08-11 19:58:34 +00:00
jdolecek bd462d0988 fix one of debug printfs to print dosfilename correctly, and include
a newline
2000-08-11 19:41:58 +00:00
matt 01c441e0c2 Fix device creation for SCSI tapes. 2000-08-11 19:19:03 +00:00
thorpej 65c9982dfa Back out part of previous which was unintended. 2000-08-11 18:26:09 +00:00
msaitoh 7e0d8cf541 hide InitializeBSD if DONT_INIT_BSC is defined 2000-08-11 15:11:22 +00:00
msaitoh 18f2e17644 fix the first (temporary) kernel stack address
from	IOM_RAM_BEGIN + 0x003ff000
	to	IOM_RAM_BEGIN + IOM_RAM_SIZE - 0x00001000
2000-08-11 14:51:08 +00:00
thorpej c30304eb14 Declare the `depca' device here, now that it can attach to
multiple busses.
2000-08-11 14:35:57 +00:00