Commit Graph

75523 Commits

Author SHA1 Message Date
bjh21
3c3ed6cecd Flush out cf_unit abuses.
Also, most device functions related to IRQ handling no longer take a device
pointer.  We make so many assumptions about the machine's layout in irq.c that
this just seemed silly.
2001-01-23 23:58:31 +00:00
bjh21
d21e15aefe This is no longer used. 2001-01-23 23:19:45 +00:00
enami
b25b640d38 No space is allowed before comma in optarg for -X option. 2001-01-23 23:06:11 +00:00
enami
044efd32f8 Print a process state except sleeping in capital letter, and
print wait channel for sleeping process.  While I'm here, document that
the STATE field may be followed by /cpu-number on multi-processor system.
2001-01-23 23:03:49 +00:00
bjh21
c59e8d1831 ANSIfy. 2001-01-23 22:59:24 +00:00
bjh21
34bf08cd05 Use a permanent breakpoint to invoke DDB rather than constructing a trapframe
manually.  Prevents the problem introduced in the trapframe unification
whereby continuing from DDB would cause a panic.
2001-01-23 22:41:16 +00:00
jdolecek
0e4f8029c1 Make the generated parse tables const, so that the data are pushed
to text segment. The difference is quite significant - for example,
the tables are about 20K for gawk, 40K for nawk, couple of KB for /bin/sh.
2001-01-23 22:31:40 +00:00
jdolecek
e82124d4fa adapt to NetBSD build environment, constify a little 2001-01-23 22:26:02 +00:00
jdolecek
6fa8cb0bb3 use YHEADER instead YFLAGS/CLEANFILES 2001-01-23 22:24:20 +00:00
jdolecek
adb545a48e Import nawk 2000/11/15, try #2.
This is the original New AWK from AT&T Labs as described in "The
AWK Programming Language", by Al Aho, Brian Kernighan, and Peter
Weinberger.

This would eventually replace gawk in our tree in future.
2001-01-23 22:14:07 +00:00
bjh21
f32fc0fc90 Use evcnts properly for interrupt counting.
The architecture here follows that of the vax port -- each device has its
evcnt in its softc, but defers actually incrementing it to the IRQ
dispatcher.  This way, devices can attach sub-counts (e.g. Rx and Tx counts
for Ethernet interfaces), but don't all have to have code to increment the
counters.

Drivers deliberately call evcnt_attach_dynamic() before establishing their
interrupt handler so that the establish routine can attach a parent event if
that's appropriate.  At present, it isn't.
2001-01-23 22:07:59 +00:00
bjh21
8c87715ce0 We abuse cf_unit. The shame! 2001-01-23 22:07:58 +00:00
bjh21
616dad1a1b Use evcnts properly for interrupt counting.
The architecture here follows that of the vax port -- each device has its
evcnt in its softc, but defers actually incrementing it to the IRQ
dispatcher.  This way, devices can attach sub-counts (e.g. Rx and Tx counts
for Ethernet interfaces), but don't all have to have code to increment the
counters.

Drivers deliberately call evcnt_attach_dynamic() before establishing their
interrupt handler so that the establish routine can attach a parent event if
that's appropriate.  At present, it isn't.
2001-01-23 22:07:57 +00:00
augustss
840a1d7e2b Fiddle enough with the tty so that it wakes up on detach and drops
the reference count on the ucom.
2001-01-23 22:06:25 +00:00
augustss
4b0119383e Ad support for an extra message in the ucom attach code. 2001-01-23 21:56:17 +00:00
augustss
7e55d8a1a4 Describe that the Visor has multiple ports. 2001-01-23 21:31:10 +00:00
augustss
0156530592 Null out pointers when closing pipes.
Try to wake upper layer on error.
2001-01-23 21:22:57 +00:00
augustss
af1fabe1bc There are more ports than meet the eye on the Visor. Connect a ucom
to each of them.
2001-01-23 21:19:44 +00:00
ad
7bb669ca3e Fix up license. 2001-01-23 20:51:01 +00:00
ad
c5fe587d24 Oops, be sure to clear the ATTN interrupt on error. 2001-01-23 20:47:02 +00:00
martin
97b57e69cc Make bus_dmamap_load_mbuf and bus_dmamap_load_uio use independend
segment lists for their mapping; make iommu_dmamap_unload deal with
this type of maps.

Coded by Eduardo, tested (and minimaly tweaked) by me.
2001-01-23 20:31:28 +00:00
chuck
10ca4fd232 cause the "delete" key to actually send \177 like it used to
(and still does with pccons) rather than \033[3~ ...
2001-01-23 19:25:14 +00:00
tv
82a01b7eeb Regen. 2001-01-23 19:24:19 +00:00
tv
af31089a6d Re-add $FreeBSD$ RCS Id for the purposes of synchronization tracking.
This is not unprecedented, as we do it in >100 places in the tree.
If you disagree with this philosophy, take it to tech-kern for a discussion
FIRST before reverting; TNF, not one particular person, owns this file.
2001-01-23 19:24:00 +00:00
bjh21
e68a8d59fa Sync with libc for licence update. 2001-01-23 19:12:29 +00:00
bjh21
3da8f9bff4 Correct licence to current TNF one. 2001-01-23 19:07:34 +00:00
augustss
23cffa82c7 Rearrange detach code so it is more likely to survive detaching an open
device (it's still not waking up readers properly).
2001-01-23 17:35:58 +00:00
hpeyerl
f11510dd0a add missing Weasel command. 2001-01-23 17:18:23 +00:00
augustss
5e8cefc2ea Ad function to remove a usb task. 2001-01-23 17:04:30 +00:00
augustss
a88f037c70 MAke USB_DEBUG turn on UVISOR_DEBUG. 2001-01-23 17:03:19 +00:00
jdolecek
e87b67b182 Add nawk build glue. It's not enabled for now, gawk is still the default. 2001-01-23 16:25:22 +00:00
jdolecek
f1f01145ee make tmspc10[] const 2001-01-23 15:56:46 +00:00
jdolecek
86ebf640b0 sprinkle couple const 2001-01-23 15:55:30 +00:00
itojun
2355131777 make sure to initialize prefix information struct before use. sync with kame 2001-01-23 15:35:54 +00:00
jdolecek
b6fcf9e157 make data arrays in skeleton.c const 2001-01-23 15:35:01 +00:00
nonaka
21f8de1fcd fix dup include ossaudio. 2001-01-23 14:12:25 +00:00
augustss
cbda952879 Make sure driver attach/detach events are generated in a consistent manner. 2001-01-23 14:04:13 +00:00
augustss
7fd4b01030 Change matching condition (we don't want to match on interface for this
type of device).
Don't generate a device detach event since there's no attach event.
Minor cosmetic changes.
2001-01-23 13:48:06 +00:00
tsutsui
ec63f6df14 Use MI loadfile() in loadprotoblocks(). 2001-01-23 11:30:54 +00:00
is
93f107e677 adjust comments to reality 2001-01-23 11:25:59 +00:00
ichiro
51ee272c28 simple datasheet
http://www.nisseisg.co.jp/jyouhou/_cp/@gif/2303.pdf
but not include register :<
2001-01-23 10:10:22 +00:00
sato
0e59b8d2ec add 4bpp support (sync with mq200 rev1.6 -> 1.7) 2001-01-23 08:51:48 +00:00
ichiro
2b4a1ad203 increase size of UPLCOM{I,O}BUFSIZE
enabe uplcom_break
2001-01-23 08:15:58 +00:00
itojun
696bcad865 put attribute(packed) for ip6 option headers. they will appear at
strange alignment positions.  sync with kame
2001-01-23 07:21:07 +00:00
thorpej
bcb0a27722 Regen; added Xircom CreditCard Token Ring II. 2001-01-23 05:42:43 +00:00
thorpej
ad4bfb4606 Add Xircom CreditCard Token Ring II (woo, I found my card!) 2001-01-23 05:42:12 +00:00
itojun
8b3234d2f2 minimize diff with the latest kame tree. 2001-01-23 05:21:23 +00:00
cgd
2f928e31d3 <sys/time.h>, rather than <time.h>. The former is actually the documented
way to get gettimeofday(), etc.  On some systems on which you might want
to host make (e.g. solaris), <time.h> won't get you a struct timeval
definition.
2001-01-23 02:48:05 +00:00
ichiro
db3f510ee6 s/2000/2001 :-)
and typo.
2001-01-23 02:36:17 +00:00
mycroft
1fa165bd82 Fix a rather glaring byte-swapping bug: di_size is 64 bits, not 16. 2001-01-23 02:35:51 +00:00