people/balajirrao/gpxe.git
13 years ago[USB] Fix RX error code in pegasus ohci
Balaji Rao [Thu, 21 Aug 2008 20:16:26 +0000 (01:46 +0530)]
[USB] Fix RX error code in pegasus

13 years ago[USB] Stop the uhci schedule before cleanup in pci device removal.
Balaji Rao [Thu, 21 Aug 2008 17:05:43 +0000 (22:35 +0530)]
[USB] Stop the uhci schedule before cleanup in pci device removal.

13 years ago[USB] handle ohci_hcd pci device removal cleanly
Balaji Rao [Thu, 21 Aug 2008 17:02:22 +0000 (22:32 +0530)]
[USB] handle ohci_hcd pci device removal cleanly

13 years ago[USB] handle uhci hc pci device removal cleanly.
Balaji Rao [Thu, 21 Aug 2008 16:53:25 +0000 (22:23 +0530)]
[USB] handle uhci hc pci device removal cleanly.

13 years ago[USB] add a usb_hcd_remove_all_devices helper
Balaji Rao [Thu, 21 Aug 2008 16:44:35 +0000 (22:14 +0530)]
[USB] add a usb_hcd_remove_all_devices helper

13 years ago[USB] use proper error handling in set_address and get_configuration
Balaji Rao [Thu, 21 Aug 2008 16:07:24 +0000 (21:37 +0530)]
[USB] use proper error handling in set_address and get_configuration

13 years ago[USB] Add a deug statement in pegasus.c
Balaji Rao [Thu, 21 Aug 2008 14:47:03 +0000 (20:17 +0530)]
[USB] Add a deug statement in pegasus.c

13 years ago[USB] Cleanup dm9601
Balaji Rao [Thu, 21 Aug 2008 13:42:27 +0000 (19:12 +0530)]
[USB] Cleanup dm9601

13 years agoMerge branch 'ohci' into usb
root [Thu, 21 Aug 2008 13:28:51 +0000 (18:58 +0530)]
Merge branch 'ohci' into usb

13 years ago[USB] OHCI cleanup
Balaji Rao [Thu, 21 Aug 2008 13:14:40 +0000 (18:44 +0530)]
[USB] OHCI cleanup

13 years ago[USB] OHCI cleanup
Balaji Rao [Thu, 21 Aug 2008 13:13:11 +0000 (18:43 +0530)]
[USB] OHCI cleanup

13 years ago[USB] simplify util/parserom.pl code to parse USB_ROM macro
Balaji Rao [Tue, 19 Aug 2008 18:40:49 +0000 (00:10 +0530)]
[USB] simplify util/parserom.pl code to parse USB_ROM macro

13 years ago[USB] Cleanup asix driver
Balaji Rao [Tue, 19 Aug 2008 18:39:32 +0000 (00:09 +0530)]
[USB] Cleanup asix driver

13 years agoMerge branch 'usb' into ohci
root [Tue, 19 Aug 2008 18:28:31 +0000 (23:58 +0530)]
Merge branch 'usb' into ohci

13 years ago[USB] Cleanups in dm9601 driver
Balaji Rao [Tue, 19 Aug 2008 07:54:47 +0000 (13:24 +0530)]
[USB] Cleanups in dm9601 driver

13 years ago[USB] change usbnet.h into dm9601.h as its not used by anyone else.
Balaji Rao [Mon, 18 Aug 2008 12:54:38 +0000 (18:24 +0530)]
[USB] change usbnet.h into dm9601.h as its not used by anyone else.

13 years ago[USB] Remove unused entries in uhci_hcd.h
Balaji Rao [Mon, 18 Aug 2008 07:01:53 +0000 (12:31 +0530)]
[USB] Remove unused entries in uhci_hcd.h

13 years ago[USB] free tds in error path
Balaji Rao [Mon, 18 Aug 2008 06:56:22 +0000 (12:26 +0530)]
[USB] free tds in error path

13 years ago[USB] free tds in error path
Balaji Rao [Mon, 18 Aug 2008 06:54:53 +0000 (12:24 +0530)]
[USB] free tds in error path

13 years ago[USB] Fixed various tiny problems identified by mcb30.
Balaji Rao [Sat, 16 Aug 2008 20:33:15 +0000 (02:03 +0530)]
[USB] Fixed various tiny problems identified by mcb30.

13 years ago[USB] Hack to make things work properly.
Balaji Rao [Fri, 15 Aug 2008 09:12:25 +0000 (14:42 +0530)]
[USB] Hack to make things work properly.

13 years ago[USB] Kind of works..
Balaji Rao [Thu, 14 Aug 2008 15:58:36 +0000 (21:28 +0530)]
[USB] Kind of works..

13 years ago[USB] OHCI now works on bare metal. Device probing a bit buggy though.
Balaji Rao [Tue, 12 Aug 2008 18:55:26 +0000 (00:25 +0530)]
[USB] OHCI now works on bare metal. Device probing a bit buggy though.

13 years ago[USB] Bulk also works, kind of.
Balaji Rao [Mon, 4 Aug 2008 22:37:05 +0000 (04:07 +0530)]
[USB] Bulk also works, kind of.

13 years ago[USB] Control transfers now work off OHCI.
Balaji Rao [Mon, 4 Aug 2008 19:55:59 +0000 (01:25 +0530)]
[USB] Control transfers now work off OHCI.

13 years ago[USB] Control transfers work properly as verified by qemu debugging messages.
Balaji Rao [Sun, 3 Aug 2008 19:55:38 +0000 (01:25 +0530)]
[USB] Control transfers work properly as verified by qemu debugging messages.
But its still qemu crashes for some reason.

13 years ago[USB] Introduce ohci_submit_control_urb to handle control urbs.
Balaji Rao [Sat, 2 Aug 2008 11:54:23 +0000 (17:24 +0530)]
[USB] Introduce ohci_submit_control_urb to handle control urbs.

13 years agoMerge branch 'usb' into ohci
root [Fri, 1 Aug 2008 12:52:39 +0000 (18:22 +0530)]
Merge branch 'usb' into ohci

13 years ago[USB] Use USB_ROM macro in asix driver.
Balaji Rao [Fri, 1 Aug 2008 12:42:07 +0000 (18:12 +0530)]
[USB] Use USB_ROM macro in asix driver.

13 years ago[USB] Introduce USB_ROM macro to handle auto inclusion of usbnet drivers.
Balaji Rao [Fri, 1 Aug 2008 12:16:38 +0000 (17:46 +0530)]
[USB] Introduce USB_ROM macro to handle auto inclusion of usbnet drivers.

13 years ago[USB] Some enqueue_urb work. Actual enqueing of TDs to be done. Code compiles
Balaji Rao [Thu, 31 Jul 2008 14:21:25 +0000 (19:51 +0530)]
[USB] Some enqueue_urb work. Actual enqueing of TDs to be done. Code compiles
cleanly at this point.

13 years ago[USB] More OHCI Code. ohci_start.
Balaji Rao [Wed, 30 Jul 2008 12:47:16 +0000 (18:17 +0530)]
[USB] More OHCI Code. ohci_start.

13 years ago[USB] Introduce ohci_reset_prot function.
Balaji Rao [Fri, 25 Jul 2008 10:37:10 +0000 (16:07 +0530)]
[USB] Introduce ohci_reset_prot function.

13 years agoMerge branch 'usb' into ohci
root [Fri, 25 Jul 2008 09:55:58 +0000 (15:25 +0530)]
Merge branch 'usb' into ohci

13 years ago[USB] Detect devices on ports.
Balaji Rao [Fri, 25 Jul 2008 09:40:17 +0000 (15:10 +0530)]
[USB] Detect devices on ports.

13 years ago[USB] More OHCI code. Initialization code now in place.
Balaji Rao [Thu, 24 Jul 2008 18:38:30 +0000 (00:08 +0530)]
[USB] More OHCI code. Initialization code now in place.

13 years ago[USB] Assign proper names to devices. Fix pegasus driver to use it.
Balaji Rao [Wed, 23 Jul 2008 19:40:12 +0000 (01:10 +0530)]
[USB] Assign proper names to devices. Fix pegasus driver to use it.

13 years ago[USB] Improve TD token fix up logic to handle multiple queued URBs.
Balaji Rao [Wed, 23 Jul 2008 19:22:13 +0000 (00:52 +0530)]
[USB] Improve TD token fix up logic to handle multiple queued URBs.

13 years ago[USB] Move usb device initialization logic from uhci driver into usbcore.
Balaji Rao [Tue, 22 Jul 2008 07:52:56 +0000 (13:22 +0530)]
[USB] Move usb device initialization logic from uhci driver into usbcore.

13 years ago[USB] Reduce UHCI PR-deassert PE-assert interval to 10 us.
Balaji Rao [Tue, 22 Jul 2008 07:33:02 +0000 (13:03 +0530)]
[USB] Reduce UHCI PR-deassert PE-assert interval to 10 us.

13 years ago[USB] Add a 'reset_port' method to the hc_driver struct.
Balaji Rao [Tue, 22 Jul 2008 07:30:43 +0000 (13:00 +0530)]
[USB] Add a 'reset_port' method to the hc_driver struct.

13 years ago[USB] Add a simple debugging statement.
Balaji Rao [Wed, 16 Jul 2008 20:27:36 +0000 (01:57 +0530)]
[USB] Add a simple debugging statement.

13 years ago[USB] Add appropriate timing between PR and PE.
Balaji Rao [Wed, 16 Jul 2008 19:52:24 +0000 (01:22 +0530)]
[USB] Add appropriate timing between PR and PE.

13 years ago[USB] More OHCI code
Balaji Rao [Tue, 15 Jul 2008 19:42:28 +0000 (01:12 +0530)]
[USB] More OHCI code

13 years agoSOme thing
Balaji Rao [Fri, 11 Jul 2008 12:44:22 +0000 (18:14 +0530)]
SOme thing

13 years agoMerge branch 'master' into usb
Balaji Rao [Fri, 11 Jul 2008 01:54:56 +0000 (07:24 +0530)]
Merge branch 'master' into usb

Conflicts:

src/include/gpxe/errfile.h

13 years ago[USB] Use SPD (Sort Packet Detect) for control transfers as well. USB 2.0 devices
Balaji Rao [Thu, 10 Jul 2008 03:07:30 +0000 (08:37 +0530)]
[USB] Use SPD (Sort Packet Detect) for control transfers as well. USB 2.0 devices
are now configured.

13 years ago[udp] Avoid reusing auto-allocated ports after connection close.
Michael Brown [Thu, 10 Jul 2008 03:21:10 +0000 (04:21 +0100)]
[udp] Avoid reusing auto-allocated ports after connection close.

This duplicates a fix made to tcp.c in commit
d5735c631cf26d8e1bcf7b5e635623b52d6b48aa.

13 years ago[dhcp] Verify DHCP server source port
Michael Brown [Thu, 10 Jul 2008 03:11:09 +0000 (04:11 +0100)]
[dhcp] Verify DHCP server source port

Verifying server ID and DHCP transaction ID is insufficient to
differentiate between DHCPACK and ProxyDHCPACK when the DHCP server and
Proxy DHCP server are the same machine.

13 years ago[USB] Fix uhci port reset code.
Balaji Rao [Thu, 10 Jul 2008 02:57:12 +0000 (08:27 +0530)]
[USB] Fix uhci port reset code.

13 years agoRevert "[USB] Fixed USB 2.0 device detection bug. Moved device initialization and"
Balaji Rao [Thu, 10 Jul 2008 02:52:53 +0000 (08:22 +0530)]
Revert "[USB] Fixed USB 2.0 device detection bug. Moved device initialization and"

This reverts commit b0394265d3a7b9c507bc12a5f697ceca8c3a574a.

13 years ago[forcedeth] Add support for PCI ID 10de:0373
Andrew Schran [Thu, 10 Jul 2008 00:19:08 +0000 (01:19 +0100)]
[forcedeth] Add support for PCI ID 10de:0373

13 years ago[USB] Fixed USB 2.0 device detection bug. Moved device initialization and
Balaji Rao [Wed, 9 Jul 2008 00:58:41 +0000 (06:28 +0530)]
[USB] Fixed USB 2.0 device detection bug. Moved device initialization and
configuration code away from uhci_hcd.c into usbcore.c.

13 years ago[hermon] Add support for MT26418 device
Michael Brown [Tue, 8 Jul 2008 23:53:03 +0000 (00:53 +0100)]
[hermon] Add support for MT26418 device

PCI ID supplied (and tested) by Frederic
Temporelli <frederic.temporelli@bull.net>

13 years ago[phantom] Remove warning relating to now-fixed firmware bug
Michael Brown [Tue, 8 Jul 2008 21:37:36 +0000 (22:37 +0100)]
[phantom] Remove warning relating to now-fixed firmware bug

13 years ago[phantom] Add NetXen dual copyright
Michael Brown [Tue, 8 Jul 2008 21:36:07 +0000 (22:36 +0100)]
[phantom] Add NetXen dual copyright

13 years ago[phantom] Initialise RCVPEG before reading MAC addresses
Michael Brown [Tue, 8 Jul 2008 19:59:33 +0000 (20:59 +0100)]
[phantom] Initialise RCVPEG before reading MAC addresses

13 years ago[image] Fail "imgexec"/"boot" if the image to execute is ambiguous
Michael Brown [Tue, 8 Jul 2008 02:50:44 +0000 (03:50 +0100)]
[image] Fail "imgexec"/"boot" if the image to execute is ambiguous

If there is more than one loaded image, refuse to automatically select
the image to execute.  There are at least two possible cases, with
different "correct" answers:

1. User loads image A by mistake, then loads image B and types "boot".
   User wants to execute image B.

2. User loads image A, then loads image B (which patches image A), then
   types "boot".  User wants to execute image A.

If a user actually wants to load multiple images, they must explicitly
specify which image is to be executed.

13 years ago[image] Revert "clear LOADED flag" patch
Michael Brown [Tue, 8 Jul 2008 02:15:02 +0000 (03:15 +0100)]
[image] Revert "clear LOADED flag" patch

Clearing the LOADED flag actually prevents users from doing clever things
such as loading an image, then loading a patch image, then executing the
first image.  (image_exec() checks for IMAGE_LOADED, so this sequence of
operations will fail if the LOADED flag gets cleared.)

This reverts commit 14c080020fb37cb34fe74213393f47bd2ad8b9bc.

13 years ago[image] Clear LOADED flag on all other images when loading a new image
Michael Brown [Tue, 8 Jul 2008 02:03:48 +0000 (03:03 +0100)]
[image] Clear LOADED flag on all other images when loading a new image

Loading an image may overwrite part or all of any previously-loaded
images, so we should clear the LOADED flag for all images prior to
attempting to load a new image.

13 years ago[settings] Allow "config" command to access root settings block
Michael Brown [Tue, 8 Jul 2008 01:10:18 +0000 (02:10 +0100)]
[settings] Allow "config" command to access root settings block

13 years ago[bzimage] Kill off the initrd image type
Michael Brown [Tue, 8 Jul 2008 00:30:11 +0000 (01:30 +0100)]
[bzimage] Kill off the initrd image type

We can just treat all non-kernel images as initrds, which matches our
behaviour for multiboot kernels.  This allows us to eliminate initrd as
an image type, and treat the "initrd" command as just another synonym for
"imgfetch".

13 years ago[dhcp] Allow DHCP non-option settings to be cleared
Michael Brown [Tue, 8 Jul 2008 00:13:59 +0000 (01:13 +0100)]
[dhcp] Allow DHCP non-option settings to be cleared

dhcppkt_store() is supposed to clear the setting if passed NULL for the
setting data.  In the case of fixed-location fields (e.g. client IP
address), this requires setting the content of the field to all-zeros.

13 years ago[USB] Timeout if synch control message takes too much time.
Balaji Rao [Mon, 7 Jul 2008 14:30:24 +0000 (20:00 +0530)]
[USB] Timeout if synch control message takes too much time.

13 years ago[USB] Initialize a variable in pegasus.c to avoid compiler complaints.
Balaji Rao [Mon, 7 Jul 2008 12:55:10 +0000 (18:25 +0530)]
[USB] Initialize a variable in pegasus.c to avoid compiler complaints.

13 years ago[USB] Fix set_register function in pegasus to use size of 1 instead of 0.
Balaji Rao [Mon, 7 Jul 2008 07:30:29 +0000 (13:00 +0530)]
[USB] Fix set_register function in pegasus to use size of 1 instead of 0.

13 years ago[phantom] Add support for NetXen Phantom NICs
Michael Brown [Sat, 5 Jul 2008 02:38:14 +0000 (19:38 -0700)]
[phantom] Add support for NetXen Phantom NICs

13 years ago[USB] asix USB driver ready. Works only with DLink DUB E 100 but not with
Balaji Rao [Fri, 4 Jul 2008 00:56:49 +0000 (06:26 +0530)]
[USB] asix USB driver ready. Works only with DLink DUB E 100 but not with
Belklin F5D055 gigabit adapter.

13 years ago[tftp] Strip the initial '/' to keep Windows TFTP servers happy.
Michael Brown [Wed, 2 Jul 2008 22:01:25 +0000 (15:01 -0700)]
[tftp] Strip the initial '/' to keep Windows TFTP servers happy.

13 years ago[USB] Added asix driver. Only probe function written. MAC address read
Balaji Rao [Wed, 2 Jul 2008 01:35:15 +0000 (07:05 +0530)]
[USB] Added asix driver. Only probe function written. MAC address read
successfully.

13 years ago[i386] Change semantics of __from_data16 and __from_text16
Michael Brown [Tue, 1 Jul 2008 01:52:13 +0000 (18:52 -0700)]
[i386] Change semantics of __from_data16 and __from_text16

__from_data16 and __from_text16 now take a pointer to a
.data16/.text16 variable, and return the real-mode offset within the
appropriate segment.  This matches the use case for every occurrence
of these macros, and prevents potential future bugs such as that fixed
in commit d51d80f.  (The bug arose essentially because "&pointer" is
still syntactically valid.)

13 years ago[pxe] Fix a typo in PXENV_GET_CACHED_INFO that broke Altiris
Michael Brown [Tue, 1 Jul 2008 01:35:51 +0000 (18:35 -0700)]
[pxe] Fix a typo in PXENV_GET_CACHED_INFO that broke Altiris

__from_data16 takes the value pointed to, rather than the pointer
itself.  This was silently causing gPXE to return a dud buffer pointer
when the caller did not supply a buffer for PXENV_GET_CACHED_INFO.

13 years ago[dhcp] Verify server identifier on ProxyDHCPACKs
Michael Brown [Tue, 1 Jul 2008 00:56:37 +0000 (17:56 -0700)]
[dhcp] Verify server identifier on ProxyDHCPACKs

Perform the same test for a matching DHCP_SERVER_IDENTIFIER on
ProxyDHCPACKs as we do for DHCPACKs.  Otherwise, a retransmitted
DHCPACK can end up being treated as the ProxyDHCPACK.

I have a vague and unsettling memory that this test was deliberately
omitted, but I can't remember why, and can't find anything in the VC
logs.

13 years ago[USB] pegasus driver completed. Works. Tested with QEMU.
Balaji Rao [Mon, 30 Jun 2008 20:27:57 +0000 (01:57 +0530)]
[USB] pegasus driver completed. Works. Tested with QEMU.

13 years ago[Config] remove src/Config
H. Peter Anvin [Mon, 30 Jun 2008 19:16:08 +0000 (12:16 -0700)]
[Config] remove src/Config

Remove src/Config as it has no more users, and conflicts with
src/config on case-deficient filesystems.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years ago[ns8390] Use stub files instead of src/Config
H. Peter Anvin [Mon, 30 Jun 2008 19:09:21 +0000 (12:09 -0700)]
[ns8390] Use stub files instead of src/Config

ns8390.c can produce four different drivers (one PCI, three ISA.)  The
ISA driver requires setting a few macros; do that by setting defines
in stub files instead of using src/Config.

Currently, all the ISA drivers are broken (they were not enabled by
default), so #if 0 them out.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years ago[lkrnprefix] Make gPXE .lkrn images conform to the zImage 2.07 format
Stefan Hajnoczi [Mon, 30 Jun 2008 18:53:28 +0000 (19:53 +0100)]
[lkrnprefix] Make gPXE .lkrn images conform to the zImage 2.07 format

13 years ago[bzImage] Support loading zImage kernels
Stefan Hajnoczi [Mon, 30 Jun 2008 18:51:41 +0000 (19:51 +0100)]
[bzImage] Support loading zImage kernels

zImage kernels require the real-mode portion to be loaded at 9000:0000
rather than 1000:0000.

13 years ago[GDB] Provide functions to manually enter GDB stub.
Stefan Hajnoczi [Mon, 16 Jun 2008 13:42:22 +0000 (14:42 +0100)]
[GDB] Provide functions to manually enter GDB stub.

13 years ago[GDB] Obey flow control when GDB connects.
Stefan Hajnoczi [Mon, 16 Jun 2008 12:18:20 +0000 (13:18 +0100)]
[GDB] Obey flow control when GDB connects.

13 years ago[GDB] Remove unused DR6 debug register variable
Stefan Hajnoczi [Fri, 13 Jun 2008 19:11:41 +0000 (20:11 +0100)]
[GDB] Remove unused DR6 debug register variable

13 years ago[GDB] UDP clean up and add netdev refcnt
Stefan Hajnoczi [Fri, 13 Jun 2008 16:14:12 +0000 (17:14 +0100)]
[GDB] UDP clean up and add netdev refcnt

13 years ago[GDB] Zero-extend 16-bit segment registers
Stefan Hajnoczi [Fri, 13 Jun 2008 09:26:49 +0000 (10:26 +0100)]
[GDB] Zero-extend 16-bit segment registers

When the 16-bit segment registers are accessed using 32-bit instructions
the high order bytes are undefined on older CPUs.  We now explicitly
zero the high order bytes when snapshotting the CPU state.  This ensures
that the GDB stub reports consistent values for the segment registers.

13 years ago[GDB] Add copyright header for gdbmach.c
Stefan Hajnoczi [Thu, 12 Jun 2008 17:19:55 +0000 (18:19 +0100)]
[GDB] Add copyright header for gdbmach.c

13 years ago[GDB] Add watch and rwatch hardware watchpoints
Stefan Hajnoczi [Thu, 12 Jun 2008 15:56:20 +0000 (16:56 +0100)]
[GDB] Add watch and rwatch hardware watchpoints

13 years ago[GDB] Remote debugging over UDP
Stefan Hajnoczi [Wed, 11 Jun 2008 11:12:46 +0000 (12:12 +0100)]
[GDB] Remote debugging over UDP

This commit implements GDB over UDP.  Using UDP is more complex than
serial and has required some restructuring.

The GDB stub is now built using one or both of GDBSERIAL and GDBUDP
config.h options.

To enter the debugger, execute the gPXE shell command:
gdbstub <transport> [<options>...]

Where <transport> is "serial" or "udp".  For "udp", the name of a
configured network device is required:
gdbstub udp net0

The GDB stub listens on UDP port 43770 by default.

13 years ago[GDB] Atomic read/write for device memory
Stefan Hajnoczi [Thu, 5 Jun 2008 19:07:23 +0000 (20:07 +0100)]
[GDB] Atomic read/write for device memory

13 years ago[GDB] Handle kill and detach packets.
Stefan Hajnoczi [Thu, 5 Jun 2008 14:31:48 +0000 (15:31 +0100)]
[GDB] Handle kill and detach packets.

This commit also includes a test to ensure that single stepping works,
since continue, kill, detach, and single step all share code.

13 years ago[USB] Simplify dm9601 transmit code.
Balaji Rao [Mon, 30 Jun 2008 00:30:41 +0000 (06:00 +0530)]
[USB] Simplify dm9601 transmit code.

13 years ago[USB] Quick and dirty hack to include dm9601 and pegasus as drivers.
Balaji Rao [Sun, 29 Jun 2008 23:15:13 +0000 (04:45 +0530)]
[USB] Quick and dirty hack to include dm9601 and pegasus as drivers.

13 years ago[romprefix] Fix PMM detection start address
Michael Brown [Sat, 28 Jun 2008 22:18:11 +0000 (23:18 +0100)]
[romprefix] Fix PMM detection start address

Commit fd0aef9 introduced a typo that caused PMM detection to start at
paragraph 0xe00 rather than 0xe000.  (Detection would still work, since it
would scan until it ran out of base memory, but it would end up scanning
an unnecessarily large portion of base memory.)

Spotted by Sebastian Herbszt <herbszt@gmx.de>.

13 years ago[nvs] Add support for ST M25P32 SPI flash devices
Michael Brown [Tue, 24 Jun 2008 18:32:21 +0000 (11:32 -0700)]
[nvs] Add support for ST M25P32 SPI flash devices

13 years ago[misc] Fix building on OpenBSD
Michael Brown [Fri, 27 Jun 2008 21:35:26 +0000 (22:35 +0100)]
[misc] Fix building on OpenBSD

OpenBSD throws compiler warnings that we can't reproduce on Linux, for
some reason.

Original patch from Dewey Hylton <dewey@hyltown.com>.

13 years ago[a20] Send a null command to the KBC after changing A20
H. Peter Anvin [Fri, 27 Jun 2008 21:29:13 +0000 (22:29 +0100)]
[a20] Send a null command to the KBC after changing A20

Send a null command, specifically "pulse outputs" with no outputs
selected, to the KBC after changing A20.  This was apparently done by DOS,
presumably as a synchronization hack, and the authors of the UHCI spec
thought it was inherent.  Therefore, there are systems out there (e.g. HP
DL360 G5) which will stop responsing to "legacy USB" unless they see the
null command, 0xFF, written to port 0x64 at the end of the A20 toggling
sequence.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 years ago[libc] Remove unused le32_to_cpup(x) and cpu_to_le16p() macros
Michael Brown [Fri, 20 Jun 2008 10:40:08 +0000 (11:40 +0100)]
[libc] Remove unused le32_to_cpup(x) and cpu_to_le16p() macros

If we ever need these macros, they should be defined in
include/{big,little}_bswap.h, and the whole family should be defined.

13 years ago[tg3] Recognize the BCM5789
Steven Walter [Tue, 17 Jun 2008 21:37:43 +0000 (17:37 -0400)]
[tg3] Recognize the BCM5789

Add an entry to tg3_nics for the BCM5789

Signed-off-by: Steven Walter <stevenrwalter@gmail.com>
13 years ago[cmdline] Fix image command-line construction for zero-length argument lists
Michael Brown [Fri, 27 Jun 2008 20:50:18 +0000 (21:50 +0100)]
[cmdline] Fix image command-line construction for zero-length argument lists

This fixes a bug introduced in commit 4c85017.

13 years ago[USB] Cleanup source code to use proper error handling. Some minor changes in
Balaji Rao [Thu, 26 Jun 2008 20:33:11 +0000 (02:03 +0530)]
[USB] Cleanup source code to use proper error handling. Some minor changes in
synchronous control URB submission.

13 years ago[USB] Cleanup code to handle errors graciously. Still a work in progress.
Balaji Rao [Thu, 26 Jun 2008 12:42:50 +0000 (18:12 +0530)]
[USB] Cleanup code to handle errors graciously. Still a work in progress.

13 years ago[USB] Added support for pegasus usb nic driver. Only the transmit part works.
Balaji Rao [Wed, 25 Jun 2008 21:58:25 +0000 (03:28 +0530)]
[USB] Added support for pegasus usb nic driver. Only the transmit part works.