Commit Graph

132501 Commits

Author SHA1 Message Date
joff
419237bbb9 generic kernel configuration for TS-7200 SBC's 2004-12-23 04:35:01 +00:00
joff
cf4725f858 build configuration metadata for TS-7200 SBC 2004-12-23 04:34:03 +00:00
joff
01f7ff5bd1 PC/104 aka ISA bus support on TS-7200 2004-12-23 04:31:47 +00:00
joff
e95044fa10 CompactFlash IDE controller glue 2004-12-23 04:30:50 +00:00
joff
37b0a6b3f3 TS-7200 onboard CPLD driver 2004-12-23 04:30:19 +00:00
joff
5494e0fbe9 TS-7200 magic numbers/structs 2004-12-23 04:29:38 +00:00
joff
9817c7eefb TS-7200 machdep initialization 2004-12-23 04:28:31 +00:00
joff
16a20082fa TS-7200 SBC epcom UART glue 2004-12-23 04:27:56 +00:00
lukem
eca6f3c39f * Conditionalize flushing of IPv4 vs IPv6 rules based on the existance
of the appropriate configuration file.
  Based on PR 28757 from Jason White.

* Add comments explaining why we flush separately from the reload
  (backwards compat with older ipf(8) binaries).
2004-12-23 03:31:54 +00:00
wiz
3c75d39ba0 New sentence, new line. Add a comma. 2004-12-23 01:55:30 +00:00
dbj
8962229d27 check for _KERNEL_OPT around opt include 2004-12-22 23:29:51 +00:00
reed
6396854de0 Fix "Current Vers:" entry for Vinum. It broke the htutils 3rdparty2html
script.
2004-12-22 20:41:24 +00:00
joff
330c69ca0e Make sure to ack the interrupt even if we are ignoring it. Otherwise, we will
keep coming back.
2004-12-22 19:36:13 +00:00
joff
781176b751 char major 107 to ep93xx processor UART driver epcom 2004-12-22 19:23:18 +00:00
joff
ece4d58532 support high vectors on ARM9 2004-12-22 19:18:13 +00:00
joff
0fac6fa89b ep93xx ARM system-on-chip support 2004-12-22 19:14:11 +00:00
joff
c1caa5af5e ep93xx processor system tick timer and microtime()/delay() impl 2004-12-22 19:13:32 +00:00
joff
2980391051 ep93xx ARM system-on-chip support 2004-12-22 19:12:21 +00:00
joff
81551c0b8b ep93xx processor on-chip USB OHCI driver glue 2004-12-22 19:11:49 +00:00
joff
4eeab77519 ep93xx processor on-chip 1/10/100 ethernet MAC driver 2004-12-22 19:11:10 +00:00
joff
4e771f5ddb ep93xx processor on-chip UART driver 2004-12-22 19:10:25 +00:00
joff
e98c2a1dac ep93xx processor system tick timer and microtime()/delay() impl 2004-12-22 19:09:29 +00:00
joff
9241ff0062 ep93xx processor bus_space impl 2004-12-22 19:08:16 +00:00
joff
91e542a4f5 ep93xx processor VIC interrupt controller support 2004-12-22 19:07:14 +00:00
christos
5fd3b99d04 check that signum is valid correctly. 2004-12-22 18:16:47 +00:00
christos
25c67c975f Fix usage, and call setprogname()! 2004-12-22 17:20:30 +00:00
christos
5df4136a03 PR/28751: Ed Ravin: Limit host field output by default to 35 characters so
that things don't wrap. Add -w flag to enable full output. Delete mention
of the old and not supported flags. This was 11 years ago, and very few
people even remember what these flags did.
2004-12-22 17:16:07 +00:00
itojun
b97cc48910 whitespace 2004-12-22 05:11:24 +00:00
lha
c2e518e56e Only include Kerberos 4 headers when compiling in a Kerberos enviroment
From Jukka Salmi in NetBSD PR misc/28727
2004-12-22 01:28:56 +00:00
lha
a0dab7aa39 Move linking with libdes to the common kerberos section since
libtelnet depends on the old des functions.

From Jukka Salmi in NetBSD pr misc/28727
2004-12-22 01:25:05 +00:00
reinoud
cca3038b40 Add convenience macro AC97_HAS_SPDIF to check if SPDIF output is supported
in the codec in the line of AC97_IS_4CH and AC97_IS_FIXED_RATE macro's.
2004-12-22 00:54:55 +00:00
christos
36e8d2b792 PR/28744: Ed Ravin: crontab with fewer than 3 comment lines dumps core
in crontab -l.
The problem is that the skip_header code has a side effect of trying to
write to the new temporary cron tab if we run out of comments. Since we
don't have an output file in -l, we core-dump trying to fputc to NULL.
Simplify the logic so that we don't write in the skip_header function,
and we always return the first character after the comment lines to the
caller, skipping the '\n'.
2004-12-22 00:49:14 +00:00
fvdl
735ac78567 Use 256k, not 256M (I thought I had fixed that, since it was discussed
a while ago, but apparently I did forget it). Thanks to Juan for reminding
me.
2004-12-21 19:49:56 +00:00
fvdl
a3cea30b50 Implement an USB memory reserve. Allocate some memory per host controller
in the wanted bus_dma space. If an allocation fails during operation
(i.e. when hotplugging an umass device), fall back to using the reserve.

The amount can be configured as USB_MEM_RESERVE. The default value is
256k.

Ideally, there would be a way to steal pages in the desired area from
UVM, but that's far more complicated, and this is not intrusive, plus
it works.
2004-12-21 16:41:24 +00:00
fvdl
cdbba9f326 defparam USB_MEM_RESERVE 2004-12-21 16:36:53 +00:00
christos
03cbcf1149 check error return from malloc and bail. 2004-12-21 16:20:09 +00:00
christos
ce14df22e4 Get rid of the data resource limit, since we are going to be using a lot
of memory.
2004-12-21 16:19:50 +00:00
christos
ff8b4faf02 Use strdup() instead of home-grown version and exit on error. 2004-12-21 16:19:09 +00:00
peter
dd544baa78 Apply a patch from OPENBSD_3_6 branch (ok yamt).
MFC:
Fix by dhartmei@

IPv6 packets can contain headers (like options) before the TCP/UDP/ICMP6
header. pf finds the first TCP/UDP/ICMP6 header to filter by traversing
the header chain. In the case where headers are skipped, the protocol
checksum verification used the wrong length (included the skipped headers),
leading to incorrectly mismatching checksums. Such IPv6 packets with
headers were silently dropped. Reported by Bernhard Schmidt.

ok deraadt@ dhartmei@ mcbride@
2004-12-21 12:06:37 +00:00
peter
e71187380f Apply a patch from OPENBSD_3_6 branch (ok yamt).
MFC:
Fix by mcbride@

Initialise init_addr in pf_map_addr() in the PF_POOL_ROUNDROBIN,
prevents a possible endless loop in pf_get_sport() with 'static-port'

Reported by adm at celeritystorm dot com in FreeBSD PR74930, debugging
by dhartmei@

ok mcbride@ dhartmei@ deraadt@ henning@
2004-12-21 12:05:34 +00:00
drochner
e5653b8213 remove a redundant check for ifindex2ifnet[idx] != 0 2004-12-21 11:40:12 +00:00
drochner
f44d9a5791 fix ifindex argument checks for IPV6_JOIN_GROUP,
IPV6_LEAVE_GROUP and IPV6_MULTICAST_IF -
0 is always legal
2004-12-21 11:37:47 +00:00
yamt
8676c37c10 scmp: don't discard const qualifiers needlessly. 2004-12-21 11:33:07 +00:00
fvdl
a5e7e03043 Use fixed mode, not lopri, for delivering IO interrupts. Suggested by
Peter O'Kane. Fixes interrupt problems on some Xeon systems.
2004-12-21 11:33:04 +00:00
yamt
5b3d234201 constify. 2004-12-21 11:25:43 +00:00
yamt
acdc3d1e0f constify. 2004-12-21 09:29:04 +00:00
dyoung
e8cbfad366 The CRC bit in the Transmit Configuration Register seems to have
the meaning opposite to what I thought I read in the datasheet.
2004-12-21 09:07:23 +00:00
yamt
824b77d67e _citrus_find_getops: use _C_LABEL_STRING. 2004-12-21 09:00:01 +00:00
yamt
8a0e62d02d open_shared: correct a buffer size. 2004-12-21 08:07:41 +00:00
yamt
21a48a296e pf_check_proto_cksum: use {tcp,udp}_input_checksum so that we can:
- handle loopback checksum omission properly.
- profit from h/w checksum offloading.
2004-12-21 05:55:23 +00:00