Commit Graph

43278 Commits

Author SHA1 Message Date
thorpej
30be6aa8b6 Add NETISRs for SLIP and STRIP. (Geez, I wish we had the softintr
API everywhere...)
2001-01-09 05:03:10 +00:00
thorpej
692a2bc939 Make the buffer management in SLIP just a little less evil. 2001-01-09 04:42:48 +00:00
enami
7a36660307 If there remains no memory in a segment after we chopped off ``the last
page,'' skip the segment.  Fixes boot problem on Compaq ProLiant ML370
reported at current-users by Mark Davies.
2001-01-09 03:45:49 +00:00
lukem
443a19e035 convert to using .WAIT 2001-01-09 03:13:39 +00:00
itojun
6378ac40ee pass the right $CPP 2001-01-09 02:31:37 +00:00
lukem
7a9f0b9a95 sync to GENERIC 1.390:
- add an NIC & vlan
- add auich, esm, neo audio
2001-01-09 00:47:18 +00:00
martin
ac6176f581 Fix some oversights from fixing option names. 2001-01-09 00:46:01 +00:00
lukem
6ac8983e9d sort auich in respect to auvia 2001-01-09 00:40:53 +00:00
thorpej
c5acd6aad5 Fix a typo in the ALTQ changes. 2001-01-08 23:43:34 +00:00
pk
301b806db0 ebus_find_node(): plug memory leak; make debug output meaningfuller. 2001-01-08 22:15:47 +00:00
thorpej
7bebf9a408 On ADMtek chips, don't just idle the chip when programming the
multicast filter.  These chips don't like to go into "idle" state
very much, so we have to use the big hammer and reset the chip,
instead.
2001-01-08 22:12:57 +00:00
ragge
2987c0474d Fixes from OpenBSD by Brandon Creighton. (bjc@openbsd.org)
Log message from OpenBSD:

> - add EMODD emulation (EMODF) -- this fixes modf() and some libm code
>   on systems which don't have native EMODD (i.e., most of them)
>
> - big cleanup of the getval_* stuff - have one routine doing most of the work
>   instead of four doing the same thing
>
> - add some miscellaneous routines -- count sig. bits
>
> - add more operand addressing modes (still not all fully implemented)
>   both the existing POLYD and EMODD can use them
>
> - add me to copyright
>
2001-01-08 22:08:22 +00:00
thorpej
d101f6f462 Add Accton EN2242 10/100 MiniPCI Ethernet. 2001-01-08 21:50:47 +00:00
thorpej
2482ba1fab Regen; added Accton EN2242. 2001-01-08 21:47:38 +00:00
thorpej
3628087824 Add product ID for the Accton EN2242 10/100 Ethernet (an ADMtek AN985). 2001-01-08 21:47:10 +00:00
martin
f53c899649 Add isdn devices to all archs that seem to support at least one of the
necessary busses. Sync comments with reality for archs that already had
the devices.
2001-01-08 21:46:33 +00:00
thorpej
666e82a4e9 Use the AN985 media switch on the AN985. 2001-01-08 21:45:42 +00:00
thorpej
e9bb880aaf The ADMtek AN985 "ghosts" the single built-in PHY at every MII address.
Work around this by having a custom media init routine that limits the
search to MII address 1.
2001-01-08 21:40:29 +00:00
thorpej
f9c77ef635 Only build "esm" if it's included in the kernel config file. 2001-01-08 21:16:26 +00:00
rh
c6274d6e3d Add and enable the esm PCI audio driver 2001-01-08 20:48:11 +00:00
augustss
e6616f532a Cosmetic changes. 2001-01-08 20:21:16 +00:00
thorpej
2b00271327 Regen; added DEC SWXCR RAID. 2001-01-08 20:08:17 +00:00
thorpej
18b051656b Add product ID for DEC SWXCR RAID (a Mylex v5 controller). 2001-01-08 20:07:21 +00:00
rh
a3aa8d5abc Add esm audio driver. 2001-01-08 19:55:51 +00:00
rh
ca3b496216 Initial import of the Maestro 2/2e 'esm' PCI audio driver. This driver
is based on the FreeBSD 'maestro' driver by Taku YAMAMOTO
<taku@cent.saitama-u.ac.jp>
2001-01-08 19:54:31 +00:00
nathanw
d75edd2077 Reserve system call slots for getcontext, setcontext, LWPs, and
scheduler activations.
2001-01-08 18:25:35 +00:00
nathanw
5af86c93fb The "#auvia" line was removed from this config; remove the "#audio* at
auvia?" line as well.
2001-01-08 17:35:29 +00:00
takemura
757dca55b7 These ioctl commands should be '_IOW' to set value.
WSMOUSEIO_SRES
  WSMOUSEIO_SSCALE
  WSMOUSEIO_SRATE
2001-01-08 11:20:24 +00:00
rh
21ea7bd559 regen 2001-01-08 09:53:08 +00:00
rh
48276d65d9 Add IDs for the NEC Versa LX and Versa Pro LX 2001-01-08 09:52:22 +00:00
takemura
a0a2fc0688 Implement WSMOUSEIO_SRES to control A/D port scan interval. 2001-01-08 09:50:08 +00:00
enami
cdd63c8e8b Add RCSid. 2001-01-08 08:37:12 +00:00
enami
c3b283e57f Missed RCSid in rev. 1.61. 2001-01-08 07:48:59 +00:00
chs
6717a2ac1b in vtruncbuf(), use a "synchronous freeing" flush to prevent a race
between write i/os in a disk-based filesystem vs. the disk block being
freed by a truncation, allocated to a new file, and written again with
different data.  if the disk driver reorders the requests and does
the second i/o first, the old data will clobber the new, corrupting
the new file.
2001-01-08 07:05:47 +00:00
itojun
9bbe5b85ca "lp" must be defined reagardless from __HAVE_OLD_DISKLABEL 2001-01-08 06:57:21 +00:00
chs
f0ff6fc897 in uvn_flush(), when PGO_SYNCIO is specified then we should wait for
pending i/os to complete before returning even if PGO_CLEANIT is not
specified.  this fixes two races:

 (1) NFS write rpcs vs. setattr operations which truncate the file.
     if the truncate doesn't wait for pending writes to complete then
     a later write rpc completion can undo the effect of the truncate.
     this problem has been reported by several people.

 (2) write i/os in disk-based filesystem vs. the disk block being
     freed by a truncation, allocated to a new file, and written
     again with different data.  if the disk driver reorders the requests
     and does the second i/o first, the old data will clobber the new,
     corrupting the new file.  I haven't heard of anyone experiencing
     this problem yet, but it's fixed now anyway.
2001-01-08 06:21:13 +00:00
itojun
9f119cbf91 wrap icmp6 checksum error printf() into #ifdef ND6DEBUG.
sync with kame,  NetBSD PR 11911.
2001-01-08 06:12:46 +00:00
fvdl
d040bd5908 Return error in the case of using ODIOCGDINFO or ODIOCGDEFLABEL when
the number of partitions is > OLDMAXPARTITIONS. This is better
than silently truncating the label (don't want to silently throw
away partitions when using an old disklabel binary on a label with
> 8 partitions). From Enami Tsugutomo.
2001-01-08 02:03:45 +00:00
thorpej
4d4b2b5626 Nevermind that it's silly to include PROT_EXEC even if a vnode
doesn't have the exec bit set, we need to have PROT_EXEC set
in order for some expected mmap/mprotect behavior to work, so
do the last bit slightly differently: if udv_attach() fails, and
the protection (NOT maxprot) doens't include PROT_EXEC, then clear
PROT_EXEC from maxprot and try udv_attach() again.

Sigh, mmap really needs to be rototilled.
2001-01-08 01:35:03 +00:00
thorpej
b79ddef845 Also ignore receiver errors if VLAN_MTU is enabled; the 21040 appears
to require this.
2001-01-07 23:29:12 +00:00
martin
6b82e7fe42 64bit police.
Rumors say there are archs without ISA busses, so avoid including
(uneccesarily) isa bus headers in MI files.
XXX this is the minimal solution, layer interface calls will have
XXX to be revisited later
2001-01-07 21:47:24 +00:00
leo
0aa3c2b02f Sync machine types with atari/include/cpu.h 2001-01-07 21:24:05 +00:00
leo
427a7dcda0 Kill a typo. 2001-01-07 21:19:05 +00:00
leo
b9a7cb087a Nuke a cf_unit abuse. 2001-01-07 21:17:32 +00:00
leo
fb19421ce8 Expand identify_cpu() for the Milan. 2001-01-07 21:12:31 +00:00
leo
c21ca4d86a Add the Milan as a possible machine type. 2001-01-07 21:08:03 +00:00
leo
3c48826086 Make ahdi_part and ahdi_root 'packed' so I can use this include file on
an x86 machine to analyze my atari disk.
2001-01-07 21:05:16 +00:00
leo
6ad6e22efb Update the printf format in straymfpint() too. 2001-01-07 20:59:29 +00:00
leo
d6ef667612 Fixes for straytrap():
- make it clear that we are printing hex-numbers
        - fix the loop protection.
2001-01-07 20:56:51 +00:00
bjh21
2aa1fb4020 Remove old-style interrupt-counting infrastructure (intrnames/intrcnt). 2001-01-07 19:39:08 +00:00