itojun
1ff38f4d03
on interface removal, remove multicast groups joined from pcb, before
...
removing interface addresses. without the change, we may deref
NULL pointer in in_pcbpurgeif(). from jinmei@kame, sync with kame
2001-07-02 15:25:34 +00:00
ichiro
07a7db71f2
using bus_space_tag for salcd
2001-07-02 13:52:29 +00:00
onoe
ff12a4271a
performance improvement in fwohci_pkt_get() for asynchronous read.
2001-07-02 11:12:09 +00:00
onoe
a924a0db99
set/reset low level receive handler according to IFF_UP flag of network
...
interface.
2001-07-02 10:46:03 +00:00
onoe
3a2ef358d9
fix typo: CLear -> Clear
2001-07-02 02:36:48 +00:00
onoe
7605dd5368
FW_DEBUG only: move descriptor dump from DPRINTFN(1) to DPRINTFN(2).
...
fix indent in packet dump.
2001-07-02 02:26:40 +00:00
matt
f05d9cb58a
Add PM_SR
2001-07-01 21:41:58 +00:00
matt
cafc0288cf
Add PM_SR.
2001-07-01 21:41:02 +00:00
matt
6357fdafe8
Add PM_SR
2001-07-01 21:39:17 +00:00
matt
54ec2573c9
Use consistent types for len. Limit sockarg length to reasonable values.
2001-07-01 20:42:48 +00:00
thorpej
5bdb21d48a
Duh, use fd_getfile() in sys_close().
2001-07-01 18:12:00 +00:00
thorpej
ce232da4eb
Regen; added Linux-compatible clone(2) system call.
2001-07-01 18:07:33 +00:00
thorpej
9377ba2c38
Linux-compatible clone(2) system call, lifted from the Linux
...
compatibility module. Based on patches from Bang Jun-Young <bjy@mogua.org>.
2001-07-01 18:06:11 +00:00
jdolecek
adc0c5d8f3
Add myself to the list, put e-mail addresses within '<' and '>'
2001-07-01 17:13:41 +00:00
thorpej
d0f766fb5c
Regen; use the generic close(2).
2001-07-01 16:55:41 +00:00
thorpej
ee8334823e
No need to have a SVR4-32 specific close(2).
2001-07-01 16:55:19 +00:00
thorpej
e00f3a5560
Remove unneeded include files. From Onno van der Linden.
2001-07-01 16:35:36 +00:00
mrg
506cbe39be
allow one to #define DB_MAX_LINE and DB_MAX_WIDTH independantly.
2001-07-01 12:16:25 +00:00
kleink
e69c885f3e
Sync with libc: use bzero-based assembly version of memset().
2001-07-01 11:55:36 +00:00
martin
4c2e8da7bb
Disable axidently enabled debug code to make -current compile again.
2001-07-01 09:25:33 +00:00
thorpej
7f109318f9
Protect the `pool cache group' pool with splvm(), so that pool caches
...
can be used by code that runs in interrupt context.
2001-07-01 06:12:20 +00:00
gmcgarry
741d001b9f
Sort boot options. Add -c for userconf.
2001-07-01 02:58:38 +00:00
gmcgarry
d6182a9e77
In-kernel device configuration manager - allows modification
...
of device locators at run-time.
Written by Mats O Jansson <moj@stacken.kth.se>. Reworked by
Jun-ichiro itojun Hagino <itojun@netbsd.org>.
2001-07-01 02:56:20 +00:00
gmcgarry
c1d6da70b5
Example options to reduce kernel memory footprint.
2001-07-01 02:16:33 +00:00
uwe
87345845e1
Make mhzc_alloc_ethernet search the right address range.
...
Fixes: kern/11451.
Reviewed by: thorpej
2001-07-01 02:16:25 +00:00
gmcgarry
284f72b8c2
Introduce NFS_DEFAULT_NIOTHREADS to define the default number
...
of nfs_niothreads instead of hard-coding 4.
This change has the advantage that the default can be specified
at compile time. If the root filesystem is mounted over NFS
we don't have an opportunity to use the syscall to limit the
number of threads. Useful on small-memory machines.
2001-07-01 02:13:35 +00:00
gmcgarry
52f5073f28
Jumbo patch:
...
- data alignment fix
- kludge around broken multicast by using promisc mode
(IPv6 router solicitation now works)
- add support as random source
- support device power-up and power-down
- vlan support
- misc. comment and style fixes
2001-07-01 01:57:29 +00:00
gmcgarry
a48df4b355
Garbage-collect unneeded rnd.h include.
2001-07-01 01:50:05 +00:00
gmcgarry
a193512e18
Create an empty bootinfo structure.
2001-07-01 01:38:14 +00:00
thorpej
4f9dcdfb8a
Split the receive interrupt handler into two versions, one for the
...
SiS900/DP83815, one for the DP83820. In preparation for changes
to the DP83820 version for handling jumbo Ethernet frames.
2001-06-30 22:35:05 +00:00
kleink
e2d6ca2037
Rename an IFM_1000_TX occurrence missed in previous.
2001-06-30 21:23:39 +00:00
tron
29dc8fc7e3
Install "dev/tc/sfbreg.h" which is required for building the Alpha X11
...
server.
2001-06-30 21:16:52 +00:00
mrg
cfbef2cdef
pause other cpus from KGDB. XXX: need to implement other cpu trapframe access.
2001-06-30 20:17:47 +00:00
mrg
6aec628d90
db_cpu_cmd is DDB specific; move it into the DDB specific portions of this file. KGDB compiles again.
2001-06-30 20:16:49 +00:00
mrg
e7a53a87be
for now, KGDB kernels do not have access to multiple cpu's trapframe.
2001-06-30 20:15:02 +00:00
mrg
9dbb764f88
KGDB needs both zs_putc and zs_getc; make them non-static.
2001-06-30 20:14:00 +00:00
eeh
d7b32d756c
Use a newer version (still disabled) of block bcopy.
2001-06-30 19:09:38 +00:00
bjh21
8d829065a6
IFM_1000_TX -> IFM_1000_T, as (breifly) discussed on tech-net.
2001-06-30 17:53:58 +00:00
thorpej
4e30120ef0
Sync the Tx descriptors pre- and post- on the Tigon 2.
2001-06-30 17:02:54 +00:00
bjh21
4397eef459
Make cpu_reboot do all the standard things.
2001-06-30 16:49:16 +00:00
thorpej
f1ea6f5be0
When we're done setting up the General Information Block, sync it.
...
Sync the NIC-maintained stats structure as appropriate, as well.
2001-06-30 16:34:59 +00:00
bjh21
1b14f7d532
Also make it return something. See, Ben, you _do_ need to test every change.
2001-06-30 16:20:37 +00:00
bjh21
f7968131c1
Make arcvideo_show_screen() into a no-op, since it gets called on shutdown.
2001-06-30 16:19:12 +00:00
thorpej
c05a96f530
Add macros to sync the various bits of the DMA'd control data.
2001-06-30 15:57:58 +00:00
thorpej
d2a3ac835c
Use macros (like those in every other network driver I have written)
...
to compute the offset of a structure in the DMA'd control data, and
the DMA address of that structure.
2001-06-30 15:39:51 +00:00
bjh21
2e95360b2f
Add dtide and hcide, since they should work on arm32.
2001-06-30 15:09:38 +00:00
thorpej
83b199c106
Split the tx-end-of-frame routine into Tigon 1 and Tigon 2 verions,
...
for the same reason we split the tx encap routine.
2001-06-30 14:56:59 +00:00
thorpej
ee9c81dd38
Split the transmit encap routine into two versions: one for the Tigon 1
...
and another for the Tigon 2. This eliminates a conditional in the
loop around the DMA segments, and will make further cleanup easier.
2001-06-30 14:47:23 +00:00
thorpej
291a21d3fb
Move the `ti_tx_ring_nic' pointer out of the ring-data structure
...
and into the softc. Garbage-collect the `ti_cmd_ring' pointer,
since bus_space is properly used to access the command ring.
2001-06-30 14:16:55 +00:00
ragge
29455521b5
Do more intelligent calculation of KVM size. This reduces the amount of
...
pre-allocated physical memory significantly.
A 11/750, for example, get 2MB more free (of 14MB), about 12%.
2001-06-30 12:54:33 +00:00