Commit Graph

82826 Commits

Author SHA1 Message Date
gmcgarry 74fb57bcf1 Refer to locks by their correct names as described lock(9). 2001-07-01 03:13: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 32fc55d6d2 Don't pack locators. Introduce a new commandline option to
restore the previous behaviour of packing locators.

Results in a 2.5KB increase in size for the current i386 GENERIC
kernel.  My custom kernel resulted in a 12-byte increase.
2001-07-01 02:46:47 +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 8fc30802e8 Add xi as supported device. List devices alphabetically. Fix
formatting glitch.
2001-07-01 02:04:57 +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
mjl a98a0c3daf Complain if $HOME is not set instead of using a null pointer. 2001-07-01 00:20:47 +00:00
mjl 5f98a040cc Use appropriate errx/err at the right places.
Use snprintf() when dealing with user supplied arg.
2001-07-01 00:09:46 +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
tron 0c6f062020 Add back "/usr/include/dev/tc/sfbreg.h". 2001-06-30 21:24:06 +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
mbw 85968fcef5 Tsubai-san just added support for the iMac (Early 2001) model in -current
and netbsd-1-5
2001-06-30 19:00:39 +00:00
bjh21 3011c2edb9 Oops. Another mention of 1000BASE-TX squashed. 2001-06-30 17:57:56 +00:00
bjh21 bd5102ba31 IFM_1000_TX -> IFM_1000_T, and improve the description. 2001-06-30 17:57:21 +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 dd90796b3d When referring to Ethernet medium types other than as arguments to
ifconfig, use the correct spellings (10BASE-T etc).
2001-06-30 16:55:03 +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 9da8fccf7b it's -> its 2001-06-30 16:33:54 +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
bjh21 b7abea421d Build in ELF32 support on all ARM platforms. 2001-06-30 14:52:42 +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
darcy ce0ec1e208 Add System V semaphore resource limits to each GENERIC file that has an
option for System V semaphores.  It appears that there are no overrides
in the code and each file has the following added.

 options    SYSVSEM     # System V semaphores
+#options   SEMMNI=10   # number of semaphore identifiers
+#options   SEMMNS=60   # number of semaphores in system
+#options   SEMUME=10   # max number of undo entries per process
+#options   SEMMNU=30   # number of undo structures in system
 options    SYSVSHM     # System V shared memory

If anyone thinks that this is incorrect for any of these files, please
correct it.

Note - the i386 port was not forgotten.  It was done separately.
2001-06-30 11:00:31 +00:00
thorpej 6237e487ab When a transmit is complete, sync (and unload!!) the DMA map used
for the packet.  When setting up a packet for transmit, sync the
DMA map being used.
2001-06-30 05:48:24 +00:00
thorpej 17238bfd2b Move the Tigon/Tigon2 firmware, version 12.4.13+wpaul, to a
more appropriate location.
2001-06-30 04:33:11 +00:00
matt 454a630dbd Print both the lower and upper dbat register when printing dbat registers. 2001-06-30 02:03:16 +00:00
hubertf 94ff3b434f All your manpages are belong to pdf 2001-06-30 01:25:00 +00:00
matt 39fa08a172 Reset segment registers 1-7 upon entry to kernel (via trap or interrupts)
so that the bat spill code won't run into spurious valid user pages and
treat them as kernel pages.  Restore segment registers 1-7 upon return to
user mode from either a trap or interrupt.   XXX  eventually do all 16 SRs
2001-06-30 01:24:13 +00:00
matt 7c5977ea4f Fix a spurious debug printf.
Fix pmap_procwr to not check a NULL pvo.  (Duh!)
Reformat pmap_print_mmuregs.  Actually *fill in* the dbat registers.
2001-06-30 01:21:24 +00:00
thorpej 2642760b40 Update for D-Link ST201 change. 2001-06-30 01:05:25 +00:00
thorpej cdfa27aeeb Regen. 2001-06-30 01:04:25 +00:00