Commit Graph

65725 Commits

Author SHA1 Message Date
ragge
76d3da2d68 Do correct pointer casts. 2003-09-03 11:13:14 +00:00
ragge
d13eca2ef5 long -> unsigned long. 2003-09-03 10:55:22 +00:00
ragge
65e8bb870b long -> unsigned long, so that correct pointer is sent in function call. 2003-09-03 10:45:10 +00:00
manu
72fb398585 regen 2003-09-03 07:29:29 +00:00
manu
fcd3e861d0 Implement Darwin's FIODTYPE ioctl (get a file d_type) 2003-09-03 07:28:38 +00:00
mycroft
9b3ff19873 Whoops, reenable some stuff. 2003-09-03 03:19:04 +00:00
mycroft
7929022703 Add gzboot support for SMDK2410. 2003-09-03 03:18:30 +00:00
mycroft
56cdfe0eab GC a bogus variable that was causing link failures with PCMCIA. 2003-09-03 03:17:22 +00:00
mycroft
e5168f409e Use generic versions of rr_1, wr_1, sr_1 -- some PCMCIA cards use these. 2003-09-03 03:15:02 +00:00
mycroft
f13bd83ab3 Minor tweak for some macros elsewhere. 2003-09-03 03:12:28 +00:00
mycroft
1e2b27307d Add some register definitions. 2003-09-03 03:11:50 +00:00
mycroft
b715eaff3c Recognize some TI processors -- not that you'd want to use them. 2003-09-03 02:07:07 +00:00
mycroft
3713dfb05b Fix another place where we blasted PCIC_INTR_ENABLE. 2003-09-03 01:33:23 +00:00
mycroft
a93d49837e Don't clear PCIC_INTR_ENABLE here, either -- not appropriate. 2003-09-02 22:48:30 +00:00
mycroft
55ff1b2294 If the frontend passes in sc->irq=0, set PCIC_INTR_ENABLE. Also, don't clear
that bit all over the bloody place
2003-09-02 22:44:08 +00:00
manu
244c38a2ae regen 2003-09-02 21:48:49 +00:00
manu
c4c193473f correct translation for struct statfs in getfsstat, ststfs and fstatfs 2003-09-02 21:31:01 +00:00
fvdl
4458cfede6 * Make the ahc and ahd probes more alike.
* Remove some redundant code.
* ahd: Don't initiate negotiation for a discovery xs when the negotiation goal
  is set. Just looking at the auto_negotiate mask is enough, and it can
  cause an endless loop if the request gets requeued (happens with a
  of a PPR negotiation, which ends with a busfree).
2003-09-02 21:02:56 +00:00
fvdl
b9fcb05e95 Make this less chatty on probe/attach, to match the output of other controllers. 2003-09-02 20:59:51 +00:00
fvdl
ce2fedd6fb Compile in the !MPACPI && NIOAPIC case. 2003-09-02 20:10:30 +00:00
drochner
ffad96d540 add coda5, sort 2003-09-02 17:15:46 +00:00
ichiro
867de3d367 add support IO-DATA PCET/TX-R EthernetCard 2003-09-02 12:43:02 +00:00
drochner
98cfd7bc8b also feed getdents/readdir data to KTRACE 2003-09-02 12:31:35 +00:00
drochner
35755efb8c as requested by Jaromir Dolecek:
Add a "coda5" LKM which is "coda" with the "CODA_COMPAT_5" option.
This deliberately conflicts with "coda" as they can't coexist within
one kernel.
2003-09-02 12:08:45 +00:00
jdolecek
fbf6a5667f make compile
adresses PR kern/22622 by Thomas Devreese
2003-09-01 17:11:03 +00:00
christos
ab661a6a58 Add a new ioctl PPPIOCGRAWIN to get the last characters we got from the
remote site.
2003-09-01 16:51:25 +00:00
christos
b7510d87e5 fix debugging printfs 2003-09-01 16:44:03 +00:00
pk
1d113dcde7 Can't rely on side-effects in KASSERT expressions which was pointed out to
me by YAMAMOTO Takashi.
2003-09-01 14:20:57 +00:00
dsl
fafabf93cc Another attempt to get libsa to contain the right things.
- put a 'standards conforming' memcmp into memcmp.c
- make bcmp be a second label on the same code
- make bcmp.c be just #include "memcmp.c"
This means that libsa.o might contain both a memcmp.o and a bcmp.o, but
both contain the same code (defining both symbols) so it doesn't matter
which ld uses.
Saves worrying about which of bcmp.c and memcmp.c the architecture specific
Makefile requests.
2003-09-01 12:28:03 +00:00
yamt
7f7c9a3509 remove an obsolete comment.
(we now have only one inactive list.)
2003-09-01 12:16:17 +00:00
yamt
b3d9c9a976 remove an obsolete comment. pointed by enami@ 2003-09-01 12:13:55 +00:00
tls
48e67d1d60 Revert previous change, which was wrong. As Enami points out, we really do
want the NO_ESTIMATE flag here, because if the source doesn't have it,
rnd_add_data will *use the time the data was added directly as entropy*,
which is not a good idea either for a hardware RNG that works like this
one (periodically polled by the driver) or, really, like any other that I've
seen, because even for "interrupt when ready" RNGs the data rate (and thus
interrupt time) will vary only slightly for a given RNG configuration over
time, if at all.

The data we add _is_ counted into the pool estimage because we directly
pass in an entropy estimate.

The overloading of the NO_ESTIMATE flag with this meaning seems, to me, like
a design bug (albeit easily fixed) in the rng interface; but until that's
changed, we need to use it here.
2003-09-01 06:30:24 +00:00
fvdl
cd1ddca4f8 Use MPBIOS_SCANPCI by default. 2003-09-01 00:35:44 +00:00
fvdl
e8769fc0a0 Update a few types and formats. 2003-08-31 23:24:04 +00:00
fvdl
60ae17c7ae Fix signed/unsigned warnings. 2003-08-31 22:40:13 +00:00
manu
80ae13b4df Handle colormap change requests 2003-08-31 21:10:22 +00:00
uwe
f7c1e9b8e5 Comment change only, the ioctl is WSDISPLAYIO_PUTCMAP, not ..._SETCMAP.
The function is called igsfb_set_cmap() to follow the get/set/update
naming convention.
2003-08-31 14:41:15 +00:00
manu
2a523b0455 Correctly map the framebuffer. XDarwin display its background shade, hurrah! 2003-08-31 14:17:25 +00:00
fvdl
6c4d7c0fee Fix error in previous commit: the first vaddr_t argument to uvm_km_suballoc
is in/out, so it must be zeroed out before passing it, otherwise the
uvm_km_suballoc call would get stack garbage, and fail randomly.
2003-08-31 12:59:05 +00:00
ragge
a808d6e157 Add stop routine. Add support for turning the device into promiscous mode.
Force interrupt in probe so that the interrupt vector can be detected.
2003-08-31 11:13:43 +00:00
chs
ea3277f683 add a defflag for USELEDS. 2003-08-31 01:55:27 +00:00
chs
6e0aaa640d update for LWPs, and some lite cleanup. 2003-08-31 01:52:43 +00:00
gson
144519b826 The unit displayed when printing battery capacities and
charge/discharge rates was incorrect - the value printed is actually
in A, W, Ah, or Wh, not in mA, mW, mAh, or mWh (assuming as we must
that the period is interpreted as a decimal point, not a thousands
separator).
2003-08-31 01:36:12 +00:00
chs
e46cb5bfce add some placeholders so we can at least build. 2003-08-31 01:28:58 +00:00
chs
b5ed452510 just include the hppa version. 2003-08-31 01:28:22 +00:00
chs
e9303b36fc disable some things that don't build yet. 2003-08-31 01:27:18 +00:00
chs
a2ffedf11f add a hack for the link set stuff. 2003-08-31 01:27:00 +00:00
chs
cc0b88792e update for LWPs, and some lite cleanup. 2003-08-31 01:26:31 +00:00
chs
c023b4180f add "makeoptions MACHINE_ARCH=..." in std.* for mips ports
where it is constant (to ease cross-building).
2003-08-30 22:44:38 +00:00
jdolecek
62614dd63a Add sk as the PCI SysKonnect driver 2003-08-30 21:41:19 +00:00