Commit Graph

60692 Commits

Author SHA1 Message Date
jdolecek
0238a51cd0 use dprintf() instead of printf(), as other filesystem modules do 2000-02-04 10:43:34 +00:00
jdolecek
9200b8eabf move the mapping of vnode type to file type to separate function getftype()
and use it where appropriate
2000-02-04 10:35:46 +00:00
veego
dee4121dae Update to reflect the recent changes, excluding:
./usr/bin/pfrom
./usr/bin/push
./usr/bin/tcp_client
./usr/bin/uu_client
./usr/libexec/popper
./usr/libexec/tcp_server
./usr/libexec/uu_server
./usr/sbin/scriptdump
./usr/share/man/cat8/popper.0
./usr/share/man/cat8/push.0
./usr/share/man/man8/popper.8
./usr/share/man/man8/push.8
2000-02-04 10:35:21 +00:00
joda
8006211b18 fix previous broken commit of the 8-bit memory handling (spotted
by Christian Hopps); this will enable 16-bit memory accesses for devices
that can handle it
2000-02-04 10:18:28 +00:00
jdolecek
55fa2666be set mode accordingly to file type (similarily to what nfs_filestat() does)
file type is now viewed correctly for files on ntfs
2000-02-04 10:13:54 +00:00
itojun
0f09f8dd2b cope with card insertion/removal during suspend-resume session.
(removal/ insertion after suspend and before resume)

How should we deal with card swaps?
2000-02-04 09:45:34 +00:00
veego
52ffcd8aa2 Ups, s/ahw/adw/ 2000-02-04 09:44:17 +00:00
jdolecek
5d9b6ac28b fix typo 2000-02-04 09:43:45 +00:00
veego
00aed46d8f Add adw.4 and remove ioat.4.
ioat.4 seems to be there but is not installed and the manpage needs some
changes to reflects the change from ioat66 -> ioat.
2000-02-04 09:31:36 +00:00
enami
730f15bb19 Free resources on attach failure. 2000-02-04 09:31:07 +00:00
enami
82235a8673 Actually, no need to keep track of sc_ih. 2000-02-04 09:30:28 +00:00
veego
bba35f4508 Install named/0000:0000:0000:0000:0000:0000:000 and ntp.conf to fix the
damage in distrib/lists.
2000-02-04 09:24:08 +00:00
itojun
10509171fb avoid some of typecasting from in6_ifaddr to ifaddr. 2000-02-04 08:54:04 +00:00
chopps
2a1352a5b3 enable the card before establishing the interrupt to avoid being called
with stray interrupts before we are ready.
clear the card interrupt after enabling the card
2000-02-04 08:45:41 +00:00
chopps
70e711cd60 only enable interrupts from the controller if the socket is enabled 2000-02-04 08:42:47 +00:00
chopps
d344dd94ab keep track of the enabled state of a socket 2000-02-04 08:42:07 +00:00
explorer
f6ba8482dd document OS versions 2000-02-04 08:01:43 +00:00
explorer
82cee51cf3 bring over WEP mode from FreeBSD/OpenBSD 2000-02-04 07:59:45 +00:00
haya
ded26ac3e4 Now cardbus_mapreg_unmap() has been implemented in
sys/dev/cardbus/cardbus_map.c.  The detech function in
sys/dev/cardbus/if_tlp_cardbus.c uses cardbus_mapreg_unmap().
2000-02-04 07:59:20 +00:00
explorer
59db45db2a bring over WEP mode from FreeBSD/OpenBSD 2000-02-04 07:48:29 +00:00
tsubai
6bfa70b9c6 Remove an unused variable. 2000-02-04 07:48:11 +00:00
explorer
4a5667f967 undo part of the previous commit. I'll just steal the code from freebsd,
to minimize differences between the drivers.
2000-02-04 06:22:52 +00:00
chopps
9ff702157c doh, remove debugging leftover (forcing irq 15 to always be avail). 2000-02-04 05:30:55 +00:00
enami
af9710cf6e Disestablish an interrupt if failed to enable the card. 2000-02-04 04:54:51 +00:00
enami
ed0f41807d - Call if_deactivate instead of smc91cxx_disable when deactivating.
- Fix typo in comment.
2000-02-04 04:05:50 +00:00
hubertf
422fde1de4 init buffer differently 2000-02-04 03:45:48 +00:00
tsubai
a09eb087b6 Treat "chaos" like a bandit. 2000-02-04 03:40:42 +00:00
enami
6f28840935 Remove no longer necessary old code. 2000-02-04 03:40:00 +00:00
enami
3ff6804bdd Release the resource on attach failure. 2000-02-04 03:38:06 +00:00
mjl
b3204d536b Add login_getpwclass to libutil as convenience function for
programs originally for FreeBSD.
Add parsing of "setenv" parameter which can be used to set
up an initial environment on login.
2000-02-04 02:17:14 +00:00
explorer
de4f36ae63 Add encryption structure definitions -- it's interesting tht the gold card
has 128 bit encryption, but the key space is 14 * 8 bits, or 112 bits...
I wonder where the other 16 bits comes from?
2000-02-04 02:03:02 +00:00
cgd
942a54e0c1 replace the *_lookup table entry match/lookup functions in all of
these drivers with a single common function (which supports tables
of variable-sized structures).  Things are mostly as they were before:
tables are terminated by entry with NULL name, etc.  There's also
the ability to call a driver-specific match function which can be used
to augment the table lookup.
2000-02-04 01:27:12 +00:00
cgd
dd84ecc7ac Implement ratecheck(), a function which can help programmers implement
rate-limited actions.  See ratecheck(9) for details of its use.
2000-02-03 23:04:45 +00:00
cgd
606920c890 add documentation for the ratecheck() function, a new kernel function
(not even committed... docs before changes?!  CALL RIPLEY!!!)
which can help programmers implement rate-limited actions.
2000-02-03 23:03:14 +00:00
enami
0bff6e573a Cosmetic change; use IRQUNK instead of -1 always. 2000-02-03 23:03:11 +00:00
cgd
dff236064f collect all of the forward struct definitions in one place, and then
sort -u them.  (there were duplicates, some even duplicating those at the
top of the file!)
2000-02-03 22:44:11 +00:00
chopps
71d64756c2 wrap optimized copy routines in an ifdef 2000-02-03 21:27:35 +00:00
dante
9ab138d7a1 Add adw driver man page 2000-02-03 21:04:30 +00:00
dante
834e04377c Remove ADW_*_DISABLE options. Now they are described in the adw.4 man page 2000-02-03 20:31:42 +00:00
dante
cbacaf54d7 Add AdvanSys U2W (LVD) boards support 2000-02-03 20:28:26 +00:00
itojun
ccba141601 add notice on site-locals. typo fix. (sync with kame) 2000-02-03 19:57:13 +00:00
drochner
f458367b3f cosmetics: remove double semicolon, whitespace 2000-02-03 19:53:03 +00:00
cgd
11ee920b54 rename printf.c to winprintf.c, nuke inclusion of libsa's printf.c
in winprintf.c, and directly include libsa's printf.c in the project.
2000-02-03 19:46:21 +00:00
cgd
dd74df567d no more need for one-liners to include libsa .c files. just name them
directly in the project file.
2000-02-03 19:32:37 +00:00
itojun
af14db5a91 - if_detach
- xx_control calls from interrupt thread should be removed
- LP64
2000-02-03 19:29:20 +00:00
cgd
ed17755cec clean up lists: get rid of bogus extra spaces, backslash -> slash
(vc doesn't care, in paths of source files), sort, etc.
2000-02-03 19:27:56 +00:00
tsubai
e29a886cd6 * Split bandit and grackle.
* Add UniNorth support.

Now pcibus is attached like:
  bandit0 at mainbus0
  pci0 at bandit0 bus 0
  ...
2000-02-03 19:27:43 +00:00
itojun
b20e217bb8 use x_ping for ping, remove reference to -lipsec.
(sorry if you have specific need for "real" ping)
2000-02-03 19:25:16 +00:00
cgd
ff6ae74e98 tolerate newlines in the list variables, and clean up the config files
to match.  no more ridiculously long lines, now!
2000-02-03 19:16:47 +00:00
itojun
b89812ff7f - Don't reuse ip6 header portion as reassembly pointer, to be friendly
with LP64 arch.  (not tested on LP64, sorry)
- add comment on reass rule
- some other cleanups

NetBSD PR: 9340
From: iwamoto@sat.t.u-tokyo.ac.jp
(in sync with kame)
2000-02-03 18:13:01 +00:00